DesyncDamageCommand
Package: com.hypixel.hytale.server.core.modules.entity.damage.commands
public class DesyncDamageCommand extends CommandBaseA debug command (/desyncdamage) that toggles the CAUSE_DESYNC flag on DamageSystems.FilterUnkillable. When enabled, all damage to all entities is cancelled, useful for debugging damage desynchronization issues.
Constructor
Section titled “Constructor”public DesyncDamageCommand()Registers the command with name "desyncdamage" and description key "server.commands.damage.desyncdamage.desc".
Methods
Section titled “Methods”@Overrideprotected void executeSync(@Nonnull CommandContext context)Toggles DamageSystems.FilterUnkillable.CAUSE_DESYNC and sends a feedback message indicating the new state.
Related Types
Section titled “Related Types”- DamageSystems.FilterUnkillable — the system whose flag this command toggles
- DamageModule — registers this command
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.