BlockGathering

public class BlockGathering

Class BlockGathering. Provides blockgathering functionality for the Hytale server.

java.lang.Object > BlockGathering

Field Summary

breaking

public BlockBreaking breaking

Field breaking.

harvest

public Harvesting harvest

Field harvest.

soft

public SoftBlock soft

Field soft.

obj

final BlockGathering obj

Field obj.

nullBits

final byte nullBits

Field nullBits.

varPos0

final int varPos0

Field varPos0.

varPos2

final int varPos2

Field varPos2.

varPos3

final int varPos3

Field varPos3.

fieldOffset0

final int fieldOffset0

Field fieldOffset0.

fieldOffset2

final int fieldOffset2

Field fieldOffset2.

fieldOffset3

final int fieldOffset3

Field fieldOffset3.

startPos

final int startPos

Field startPos.

breakingOffsetSlot

final int breakingOffsetSlot

Field breakingOffsetSlot.

harvestOffsetSlot

final int harvestOffsetSlot

Field harvestOffsetSlot.

softOffsetSlot

final int softOffsetSlot

Field softOffsetSlot.

varBlockStart

final int varBlockStart

Field varBlockStart.

breakingOffset

final int breakingOffset

Field breakingOffset.

breakingResult

final ValidationResult breakingResult

Field breakingResult.

harvestOffset

final int harvestOffset

Field harvestOffset.

harvestResult

final ValidationResult harvestResult

Field harvestResult.

softOffset

final int softOffset

Field softOffset.

softResult

final ValidationResult softResult

Field softResult.

copy

final BlockGathering copy

Field copy.

Method Detail

BlockGathering

public public BlockGathering ()

Method BlockGathering.

deserialize

static BlockGathering deserialize (@Nonnull final ByteBuf buf, final int offset)

Method deserialize.

Parameters:
@Nonnull final ByteBuf buf
final int offset

computeBytesConsumed

static int computeBytesConsumed (@Nonnull final ByteBuf buf, final int offset)

Method computeBytesConsumed.

Parameters:
@Nonnull final ByteBuf buf
final int offset

serialize

public void serialize (@Nonnull final ByteBuf buf)

Method serialize.

Parameters:
@Nonnull final ByteBuf buf

computeSize

public int computeSize ()

Method computeSize.

validateStructure

static ValidationResult validateStructure (@Nonnull final ByteBuf buffer, final int offset)

Method validateStructure.

Parameters:
@Nonnull final ByteBuf buffer
final int offset

clone

public BlockGathering clone ()

Method clone.

equals

public boolean equals (final Object obj)

Method equals.

Parameters:
final Object obj

hashCode

public int hashCode ()

Method hashCode.