Record Class BlockTransformAppender
java.lang.Object
java.lang.Record
net.neoforged.neoforge.registries.datamaps.builtin.BlockTransformAppender
- Record Components:
entries- List of transformer entries to add
public record BlockTransformAppender(List<BlockTransformer.BlockTransformData> entries)
extends Record
Data map value for appending additional entries to a
BlockTransformer.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockTransformAppender> private final List<BlockTransformer.BlockTransformData> The field for theentriesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aBlockTransformAppenderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
entries
The field for theentriesrecord component. -
CODEC
-
-
Constructor Details
-
BlockTransformAppender
Creates an instance of aBlockTransformAppenderrecord class.- Parameters:
entries- the value for theentriesrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
entries
-