Contents
Record Class BlockPattern.BlockEntry
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.core.prefab.selection.mask.BlockPattern.BlockEntry
- Enclosing class:
BlockPattern
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Codec<BlockPattern.BlockEntry> Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionBlockEntry(String blockTypeKey, int rotation, int filler) Creates an instance of aBlockEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockTypeKeyrecord component.static BlockPattern.BlockEntryDeprecated, for removal: This API element is subject to removal in a future version.final booleanIndicates whether some other object is "equal to" this one.intfiller()Returns the value of thefillerrecord component.final inthashCode()Returns a hash code value for this object.introtation()Returns the value of therotationrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CODEC
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
BlockEntry
Creates an instance of aBlockEntryrecord class.- Parameters:
blockTypeKey- the value for theblockTypeKeyrecord componentrotation- the value for therotationrecord componentfiller- the value for thefillerrecord component
-
-
Method Details
-
decode
Deprecated, for removal: This API element is subject to removal in a future version. -
toString
-
hashCode
-
equals
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
blockTypeKey
Returns the value of theblockTypeKeyrecord component.- Returns:
- the value of the
blockTypeKeyrecord component
-
rotation
public int rotation()Returns the value of therotationrecord component.- Returns:
- the value of the
rotationrecord component
-
filler
public int filler()Returns the value of thefillerrecord component.- Returns:
- the value of the
fillerrecord component
-