Record Class BlockFluidEntry
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.worldgen.util.BlockFluidEntry
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intDeprecated.The field for theblockIdrecord component.static final BlockFluidEntryDeprecated.static final BlockFluidEntry[]Deprecated.private final intDeprecated.The field for thefluidIdrecord component.private final intDeprecated.The field for therotationrecord component. -
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
-
blockId
private final int blockIdDeprecated.The field for theblockIdrecord component. -
rotation
private final int rotationDeprecated.The field for therotationrecord component. -
fluidId
private final int fluidIdDeprecated.The field for thefluidIdrecord component. -
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
Deprecated.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
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
-