Package com.hypixel.hytale.protocol
Class ComponentUpdate
java.lang.Object
com.hypixel.hytale.protocol.ComponentUpdate
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]intfloatint[]static final intintstatic final intstatic final intintint[]static final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionComponentUpdate(ComponentUpdate other) ComponentUpdate(ComponentUpdateType type, Nameplate nameplate, int[] entityUIComponents, CombatTextUpdate combatTextUpdate, Model model, PlayerSkin skin, ItemWithAllMetadata item, int blockId, float entityScale, Equipment equipment, Map<Integer, EntityStatUpdate[]> entityStatUpdates, ModelTransform transform, MovementStates movementStates, EntityEffectUpdate[] entityEffectUpdates, Map<InteractionType, Integer> interactions, ColorLight dynamicLight, int hitboxCollisionConfigIndex, int repulsionConfigIndex, UUID predictionId, int[] soundEventIds, String interactionHint, MountedUpdate mounted, String[] activeAnimations) -
Method Summary
Modifier and TypeMethodDescriptionclone()static intcomputeBytesConsumed(io.netty.buffer.ByteBuf buf, int offset) intstatic ComponentUpdatedeserialize(io.netty.buffer.ByteBuf buf, int offset) booleaninthashCode()voidserialize(io.netty.buffer.ByteBuf buf) static ValidationResultvalidateStructure(io.netty.buffer.ByteBuf buffer, int offset)
-
Field Details
-
NULLABLE_BIT_FIELD_SIZE
public static final int NULLABLE_BIT_FIELD_SIZE- See Also:
-
FIXED_BLOCK_SIZE
public static final int FIXED_BLOCK_SIZE- See Also:
-
VARIABLE_FIELD_COUNT
public static final int VARIABLE_FIELD_COUNT- See Also:
-
VARIABLE_BLOCK_START
public static final int VARIABLE_BLOCK_START- See Also:
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
type
-
nameplate
-
entityUIComponents
@Nullable public int[] entityUIComponents -
combatTextUpdate
-
model
-
skin
-
item
-
blockId
public int blockId -
entityScale
public float entityScale -
equipment
-
entityStatUpdates
-
transform
-
movementStates
-
entityEffectUpdates
-
interactions
-
dynamicLight
-
hitboxCollisionConfigIndex
public int hitboxCollisionConfigIndex -
repulsionConfigIndex
public int repulsionConfigIndex -
predictionId
-
soundEventIds
@Nullable public int[] soundEventIds -
interactionHint
-
mounted
-
activeAnimations
-
-
Constructor Details
-
ComponentUpdate
public ComponentUpdate() -
ComponentUpdate
public ComponentUpdate(@Nonnull ComponentUpdateType type, @Nullable Nameplate nameplate, @Nullable int[] entityUIComponents, @Nullable CombatTextUpdate combatTextUpdate, @Nullable Model model, @Nullable PlayerSkin skin, @Nullable ItemWithAllMetadata item, int blockId, float entityScale, @Nullable Equipment equipment, @Nullable Map<Integer, EntityStatUpdate[]> entityStatUpdates, @Nullable ModelTransform transform, @Nullable MovementStates movementStates, @Nullable EntityEffectUpdate[] entityEffectUpdates, @Nullable Map<InteractionType, Integer> interactions, @Nullable ColorLight dynamicLight, int hitboxCollisionConfigIndex, int repulsionConfigIndex, @Nonnull UUID predictionId, @Nullable int[] soundEventIds, @Nullable String interactionHint, @Nullable MountedUpdate mounted, @Nullable String[] activeAnimations) -
ComponentUpdate
-
-
Method Details
-
deserialize
@Nonnull public static ComponentUpdate deserialize(@Nonnull io.netty.buffer.ByteBuf buf, int offset) -
computeBytesConsumed
public static int computeBytesConsumed(@Nonnull io.netty.buffer.ByteBuf buf, int offset) -
serialize
public void serialize(@Nonnull io.netty.buffer.ByteBuf buf) -
computeSize
public int computeSize() -
validateStructure
public static ValidationResult validateStructure(@Nonnull io.netty.buffer.ByteBuf buffer, int offset) -
clone
-
equals
-
hashCode
public int hashCode()
-