HyCodeYourTale
classpublicPriority 3

AssetEditorUpdateModelPreview

com.hypixel.hytale.protocol.packets.asseteditor.AssetEditorUpdateModelPreview

implements Packet

7

Methods

7

Public Methods

4

Fields

3

Constructors

Constants

intFIXED_BLOCK_SIZE= 30
booleanIS_COMPRESSED= false
intMAX_SIZE= 1677721600
intNULLABLE_BIT_FIELD_SIZE= 1
intPACKET_ID= 355
intVARIABLE_BLOCK_START= 42
intVARIABLE_FIELD_COUNT= 3

Constructors

public
AssetEditorUpdateModelPreview()
public
AssetEditorUpdateModelPreview(AssetPath assetPath, Model model, BlockType block, AssetEditorPreviewCameraSettings camera)
public
AssetEditorUpdateModelPreview(AssetEditorUpdateModelPreview other)

Methods

Public Methods (7)

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

Fields

Public Fields (4)

publicAssetPath assetPath
publicBlockType block
publicAssetEditorPreviewCameraSettings camera
publicModel model

Related Classes