Package net.minecraft.component.type
Record Class BannerPatternsComponent
java.lang.Object
java.lang.Record
net.minecraft.component.type.BannerPatternsComponent
- Record Components:
layers-
- Mappings:
Namespace Name named net/minecraft/component/type/BannerPatternsComponentintermediary net/minecraft/class_9307official dpynamed layersintermediary comp_2428official d
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BannerPatternsComponent> static final BannerPatternsComponentprivate final List<BannerPatternsComponent.Layer> The field for thelayersrecord component.(package private) static final Loggerstatic final PacketCodec<RegistryByteBuf, BannerPatternsComponent> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.layers()Returns the value of thelayersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
layers
The field for thelayersrecord component. -
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/component/type/BannerPatternsComponent;LOGGER:Lorg/slf4j/Logger;intermediary field_49761Lnet/minecraft/class_9307;field_49761:Lorg/slf4j/Logger;official eLdpy;e:Lorg/slf4j/Logger;
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULTLnet/minecraft/component/type/BannerPatternsComponent;DEFAULT:Lnet/minecraft/component/type/BannerPatternsComponent;intermediary field_49404Lnet/minecraft/class_9307;field_49404:Lnet/minecraft/class_9307;official aLdpy;a:Ldpy;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/component/type/BannerPatternsComponent;CODEC:Lcom/mojang/serialization/Codec;intermediary field_49405Lnet/minecraft/class_9307;field_49405:Lcom/mojang/serialization/Codec;official bLdpy;b:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/component/type/BannerPatternsComponent;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_49406Lnet/minecraft/class_9307;field_49406:Lnet/minecraft/class_9139;official cLdpy;c:Lyx;
-
-
Constructor Details
-
BannerPatternsComponent
-
-
Method Details
-
withoutTopLayer
- Mappings:
Namespace Name Mixin selector named withoutTopLayerLnet/minecraft/component/type/BannerPatternsComponent;withoutTopLayer()Lnet/minecraft/component/type/BannerPatternsComponent;intermediary method_57571Lnet/minecraft/class_9307;method_57571()Lnet/minecraft/class_9307;official aLdpy;a()Ldpy;
-
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). -
layers
Returns the value of thelayersrecord component.- Returns:
- the value of the
layersrecord component
-