HyCodeYourTale
classpublicPriority 3

ChangeBlockInteraction

com.hypixel.hytale.protocol.ChangeBlockInteraction

extends SimpleBlockInteraction

6

Methods

6

Public Methods

3

Fields

3

Constructors

Constants

intFIXED_BLOCK_SIZE= 25
intMAX_SIZE= 1677721600
intNULLABLE_BIT_FIELD_SIZE= 1
intVARIABLE_BLOCK_START= 49
intVARIABLE_FIELD_COUNT= 6

Constructors

public
ChangeBlockInteraction()
public
ChangeBlockInteraction(WaitForDataFrom waitForDataFrom, InteractionEffects effects, float horizontalSpeedMultiplier, float runTime, boolean cancelOnItemChange, Map<GameMode, InteractionSettings> settings, InteractionRules rules, int[] tags, InteractionCameraSettings camera, int next, int failed, boolean useLatestTarget, Map<Integer, Integer> blockChanges, int worldSoundEventIndex, boolean requireNotBroken)
public
ChangeBlockInteraction(ChangeBlockInteraction other)

Methods

Public Methods (6)

publicstatic
int computeBytesConsumed(ByteBuf buf, int offset)
public
int computeSize()
@Override
public
boolean equals(Object obj)
@Override
public
int hashCode()
@Override
public
int serialize(ByteBuf buf)
@Override
publicstatic
ValidationResult validateStructure(ByteBuf buffer, int offset)

Fields

Public Fields (3)

publicMap<Integer, Integer> blockChanges
publicboolean requireNotBroken
publicint worldSoundEventIndex

Related Classes