Record Class ArmorTrimAssets
java.lang.Object
java.lang.Record
net.minecraft.item.equipment.trim.ArmorTrimAssets
- Record Components:
base
-overrides
-
public record ArmorTrimAssets(ArmorTrimAssets.AssetId base, Map<RegistryKey<EquipmentAsset>,ArmorTrimAssets.AssetId> overrides)
extends Record
- Mappings:
Namespace Name named net/minecraft/item/equipment/trim/ArmorTrimAssets
intermediary net/minecraft/class_10714
official dlh
named base
intermediary comp_3603
official o
named overrides
intermediary comp_3604
official p
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArmorTrimAssets
private final ArmorTrimAssets.AssetId
The field for thebase
record component.static final com.mojang.serialization.MapCodec
<ArmorTrimAssets> static final ArmorTrimAssets
static final ArmorTrimAssets
static final ArmorTrimAssets
static final String
static final ArmorTrimAssets
static final ArmorTrimAssets
static final ArmorTrimAssets
static final ArmorTrimAssets
private final Map
<RegistryKey<EquipmentAsset>, ArmorTrimAssets.AssetId> The field for theoverrides
record component.static final PacketCodec
<ByteBuf, ArmorTrimAssets> static final ArmorTrimAssets
static final ArmorTrimAssets
static final ArmorTrimAssets
-
Constructor Summary
ConstructorsConstructorDescriptionArmorTrimAssets
(ArmorTrimAssets.AssetId assetId, Map<RegistryKey<EquipmentAsset>, ArmorTrimAssets.AssetId> map) -
Method Summary
Modifier and TypeMethodDescriptionbase()
Returns the value of thebase
record component.final boolean
Indicates whether some other object is "equal to" this one.getAssetId
(RegistryKey<EquipmentAsset> equipmentAsset) final int
hashCode()
Returns a hash code value for this object.static ArmorTrimAssets
static ArmorTrimAssets
of
(String suffix, Map<RegistryKey<EquipmentAsset>, String> overrides) Returns the value of theoverrides
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
base
The field for thebase
record component. -
overrides
The field for theoverrides
record component. -
field_56322
- See Also:
- Mappings:
Namespace Name Mixin selector named field_56322
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;field_56322:Ljava/lang/String;
intermediary field_56322
Lnet/minecraft/class_10714;field_56322:Ljava/lang/String;
official a
Ldlh;a:Ljava/lang/String;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_56323
Lnet/minecraft/class_10714;field_56323:Lcom/mojang/serialization/MapCodec;
official b
Ldlh;b:Lcom/mojang/serialization/MapCodec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_56324
Lnet/minecraft/class_10714;field_56324:Lnet/minecraft/class_9139;
official c
Ldlh;c:Lzm;
-
QUARTZ
- Mappings:
Namespace Name Mixin selector named QUARTZ
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;QUARTZ:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56325
Lnet/minecraft/class_10714;field_56325:Lnet/minecraft/class_10714;
official d
Ldlh;d:Ldlh;
-
IRON
- Mappings:
Namespace Name Mixin selector named IRON
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;IRON:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56326
Lnet/minecraft/class_10714;field_56326:Lnet/minecraft/class_10714;
official e
Ldlh;e:Ldlh;
-
NETHERITE
- Mappings:
Namespace Name Mixin selector named NETHERITE
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;NETHERITE:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56327
Lnet/minecraft/class_10714;field_56327:Lnet/minecraft/class_10714;
official f
Ldlh;f:Ldlh;
-
REDSTONE
- Mappings:
Namespace Name Mixin selector named REDSTONE
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;REDSTONE:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56328
Lnet/minecraft/class_10714;field_56328:Lnet/minecraft/class_10714;
official g
Ldlh;g:Ldlh;
-
COPPER
- Mappings:
Namespace Name Mixin selector named COPPER
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;COPPER:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56329
Lnet/minecraft/class_10714;field_56329:Lnet/minecraft/class_10714;
official h
Ldlh;h:Ldlh;
-
GOLD
- Mappings:
Namespace Name Mixin selector named GOLD
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;GOLD:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56330
Lnet/minecraft/class_10714;field_56330:Lnet/minecraft/class_10714;
official i
Ldlh;i:Ldlh;
-
EMERALD
- Mappings:
Namespace Name Mixin selector named EMERALD
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;EMERALD:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56331
Lnet/minecraft/class_10714;field_56331:Lnet/minecraft/class_10714;
official j
Ldlh;j:Ldlh;
-
DIAMOND
- Mappings:
Namespace Name Mixin selector named DIAMOND
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;DIAMOND:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56332
Lnet/minecraft/class_10714;field_56332:Lnet/minecraft/class_10714;
official k
Ldlh;k:Ldlh;
-
LAPIS
- Mappings:
Namespace Name Mixin selector named LAPIS
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;LAPIS:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56333
Lnet/minecraft/class_10714;field_56333:Lnet/minecraft/class_10714;
official l
Ldlh;l:Ldlh;
-
AMETHYST
- Mappings:
Namespace Name Mixin selector named AMETHYST
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;AMETHYST:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56334
Lnet/minecraft/class_10714;field_56334:Lnet/minecraft/class_10714;
official m
Ldlh;m:Ldlh;
-
RESIN
- Mappings:
Namespace Name Mixin selector named RESIN
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;RESIN:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary field_56335
Lnet/minecraft/class_10714;field_56335:Lnet/minecraft/class_10714;
official n
Ldlh;n:Ldlh;
-
-
Constructor Details
-
ArmorTrimAssets
public ArmorTrimAssets(ArmorTrimAssets.AssetId assetId, Map<RegistryKey<EquipmentAsset>, ArmorTrimAssets.AssetId> map)
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;of(Ljava/lang/String;)Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary method_67229
Lnet/minecraft/class_10714;method_67229(Ljava/lang/String;)Lnet/minecraft/class_10714;
official a
Ldlh;a(Ljava/lang/String;)Ldlh;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;of(Ljava/lang/String;Ljava/util/Map;)Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
intermediary method_67230
Lnet/minecraft/class_10714;method_67230(Ljava/lang/String;Ljava/util/Map;)Lnet/minecraft/class_10714;
official a
Ldlh;a(Ljava/lang/String;Ljava/util/Map;)Ldlh;
-
getAssetId
- Mappings:
Namespace Name Mixin selector named getAssetId
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;getAssetId(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/item/equipment/trim/ArmorTrimAssets$AssetId;
intermediary method_67227
Lnet/minecraft/class_10714;method_67227(Lnet/minecraft/class_5321;)Lnet/minecraft/class_10714$class_10715;
official a
Ldlh;a(Lamd;)Ldlh$a;
-
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)
. -
base
Returns the value of thebase
record component.- Returns:
- the value of the
base
record component
-
overrides
Returns the value of theoverrides
record component.- Returns:
- the value of the
overrides
record component
-