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/BannerPatternsComponent
intermediary net/minecraft/class_9307
official dph
named layers
intermediary comp_2428
official d
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BannerPatternsComponent> static final BannerPatternsComponent
private final List
<BannerPatternsComponent.Layer> The field for thelayers
record component.(package private) static final Logger
static final PacketCodec
<RegistryByteBuf, BannerPatternsComponent> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.layers()
Returns the value of thelayers
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
layers
The field for thelayers
record component. -
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/component/type/BannerPatternsComponent;LOGGER:Lorg/slf4j/Logger;
intermediary field_49761
Lnet/minecraft/class_9307;field_49761:Lorg/slf4j/Logger;
official e
Ldph;e:Lorg/slf4j/Logger;
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULT
Lnet/minecraft/component/type/BannerPatternsComponent;DEFAULT:Lnet/minecraft/component/type/BannerPatternsComponent;
intermediary field_49404
Lnet/minecraft/class_9307;field_49404:Lnet/minecraft/class_9307;
official a
Ldph;a:Ldph;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/component/type/BannerPatternsComponent;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_49405
Lnet/minecraft/class_9307;field_49405:Lcom/mojang/serialization/Codec;
official b
Ldph;b:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/component/type/BannerPatternsComponent;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_49406
Lnet/minecraft/class_9307;field_49406:Lnet/minecraft/class_9139;
official c
Ldph;c:Lys;
-
-
Constructor Details
-
BannerPatternsComponent
-
-
Method Details
-
withoutTopLayer
- Mappings:
Namespace Name Mixin selector named withoutTopLayer
Lnet/minecraft/component/type/BannerPatternsComponent;withoutTopLayer()Lnet/minecraft/component/type/BannerPatternsComponent;
intermediary method_57571
Lnet/minecraft/class_9307;method_57571()Lnet/minecraft/class_9307;
official a
Ldph;a()Ldph;
-
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 thelayers
record component.- Returns:
- the value of the
layers
record component
-