Package net.minecraft
Record Class class_11086
java.lang.Object
java.lang.Record
net.minecraft.class_11086
- Record Components:
templates-forcedRotation-
- All Implemented Interfaces:
FeatureConfig
public record class_11086(List<Identifier> templates, Optional<BlockRotation> forcedRotation)
extends Record
implements FeatureConfig
- Mappings:
Namespace Name named net/minecraft/class_11086intermediary net/minecraft/class_11086official eqqnamed templatesintermediary comp_3966official bnamed forcedRotationintermediary comp_3967official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_11086> private final Optional<BlockRotation> The field for theforcedRotationrecord component.private final List<Identifier> The field for thetemplatesrecord component.Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfig
DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionclass_11086(List<Identifier> list) class_11086(List<Identifier> list, Optional<BlockRotation> optional) class_11086(List<Identifier> list, BlockRotation blockRotation) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theforcedRotationrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thetemplatesrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.gen.feature.FeatureConfig
getDecoratedFeatures
-
Field Details
-
templates
The field for thetemplatesrecord component. -
forcedRotation
The field for theforcedRotationrecord component. -
field_59043
- Mappings:
Namespace Name Mixin selector named field_59043Lnet/minecraft/class_11086;field_59043:Lcom/mojang/serialization/Codec;intermediary field_59043Lnet/minecraft/class_11086;field_59043:Lcom/mojang/serialization/Codec;official aLeqq;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11086
-
class_11086
-
class_11086
-
-
Method Details
-
toString
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()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
templates
Returns the value of thetemplatesrecord component.- Returns:
- the value of the
templatesrecord component
-
forcedRotation
Returns the value of theforcedRotationrecord component.- Returns:
- the value of the
forcedRotationrecord component
-