Contents
Record Class BlockFluidEntry
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.worldgen.util.BlockFluidEntry
Deprecated.
Helper for the transition with the split of block types and fluids
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockFluidEntryDeprecated.static final BlockFluidEntry[]Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionBlockFluidEntry(int blockId, int rotation, int fluidId) Deprecated.Creates an instance of aBlockFluidEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintblockId()Deprecated.Returns the value of theblockIdrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.intfluidId()Deprecated.Returns the value of thefluidIdrecord component.final inthashCode()Deprecated.Returns a hash code value for this object.introtation()Deprecated.Returns the value of therotationrecord component.final StringtoString()Deprecated.Returns a string representation of this record class.
-
Field Details
-
EMPTY_ARRAY
Deprecated. -
EMPTY
Deprecated.
-
-
Constructor Details
-
BlockFluidEntry
public BlockFluidEntry(int blockId, int rotation, int fluidId) Deprecated.Creates an instance of aBlockFluidEntryrecord class.- Parameters:
blockId- the value for theblockIdrecord componentrotation- the value for therotationrecord componentfluidId- the value for thefluidIdrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Deprecated.Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
blockId
public int blockId()Deprecated.Returns the value of theblockIdrecord component.- Returns:
- the value of the
blockIdrecord component
-
rotation
public int rotation()Deprecated.Returns the value of therotationrecord component.- Returns:
- the value of the
rotationrecord component
-
fluidId
public int fluidId()Deprecated.Returns the value of thefluidIdrecord component.- Returns:
- the value of the
fluidIdrecord component
-