Package net.minecraft.item
Record Class CopperBlockItemSet
java.lang.Object
java.lang.Record
net.minecraft.item.CopperBlockItemSet
- Record Components:
unaffected-exposed-weathered-oxidized-waxed-waxedExposed-waxedWeathered-waxedOxidized-
public record CopperBlockItemSet(Item unaffected, Item exposed, Item weathered, Item oxidized, Item waxed, Item waxedExposed, Item waxedWeathered, Item waxedOxidized)
extends Record
- Mappings:
Namespace Name named net/minecraft/item/CopperBlockItemSetintermediary net/minecraft/class_11708official djgnamed unaffectedintermediary comp_4568official anamed exposedintermediary comp_4569official bnamed weatheredintermediary comp_4570official cnamed oxidizedintermediary comp_4571official dnamed waxedintermediary comp_4572official enamed waxedExposedintermediary comp_4573official fnamed waxedWeatheredintermediary comp_4574official gnamed waxedOxidizedintermediary comp_4575official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ItemThe field for theexposedrecord component.private final ItemThe field for theoxidizedrecord component.private final ItemThe field for theunaffectedrecord component.private final ItemThe field for thewaxedrecord component.private final ItemThe field for thewaxedExposedrecord component.private final ItemThe field for thewaxedOxidizedrecord component.private final ItemThe field for thewaxedWeatheredrecord component.private final ItemThe field for theweatheredrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CopperBlockItemSetcreate(CopperBlockSet blockSet, Function<Block, Item> registerFunction) final booleanIndicates whether some other object is "equal to" this one.exposed()Returns the value of theexposedrecord component.voidfinal inthashCode()Returns a hash code value for this object.oxidized()Returns the value of theoxidizedrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunaffectedrecord component.waxed()Returns the value of thewaxedrecord component.Returns the value of thewaxedExposedrecord component.Returns the value of thewaxedOxidizedrecord component.Returns the value of thewaxedWeatheredrecord component.Returns the value of theweatheredrecord component.
-
Field Details
-
unaffected
The field for theunaffectedrecord component. -
exposed
The field for theexposedrecord component. -
weathered
The field for theweatheredrecord component. -
oxidized
The field for theoxidizedrecord component. -
waxed
The field for thewaxedrecord component. -
waxedExposed
The field for thewaxedExposedrecord component. -
waxedWeathered
The field for thewaxedWeatheredrecord component. -
waxedOxidized
The field for thewaxedOxidizedrecord component.
-
-
Constructor Details
-
CopperBlockItemSet
-
-
Method Details
-
create
public static CopperBlockItemSet create(CopperBlockSet blockSet, Function<Block, Item> registerFunction) - Mappings:
Namespace Name Mixin selector named createLnet/minecraft/item/CopperBlockItemSet;create(Lnet/minecraft/block/CopperBlockSet;Ljava/util/function/Function;)Lnet/minecraft/item/CopperBlockItemSet;intermediary method_73102Lnet/minecraft/class_11708;method_73102(Lnet/minecraft/class_11710;Ljava/util/function/Function;)Lnet/minecraft/class_11708;official aLdjg;a(Leex;Ljava/util/function/Function;)Ldjg;
-
getWaxingMap
- Mappings:
Namespace Name Mixin selector named getWaxingMapLnet/minecraft/item/CopperBlockItemSet;getWaxingMap()Lcom/google/common/collect/ImmutableBiMap;intermediary method_73101Lnet/minecraft/class_11708;method_73101()Lcom/google/common/collect/ImmutableBiMap;official aLdjg;a()Lcom/google/common/collect/ImmutableBiMap;
-
forEach
- Mappings:
Namespace Name Mixin selector named forEachLnet/minecraft/item/CopperBlockItemSet;forEach(Ljava/util/function/Consumer;)Vintermediary method_73103Lnet/minecraft/class_11708;method_73103(Ljava/util/function/Consumer;)Vofficial aLdjg;a(Ljava/util/function/Consumer;)V
-
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). -
unaffected
Returns the value of theunaffectedrecord component.- Returns:
- the value of the
unaffectedrecord component
-
exposed
Returns the value of theexposedrecord component.- Returns:
- the value of the
exposedrecord component
-
weathered
Returns the value of theweatheredrecord component.- Returns:
- the value of the
weatheredrecord component
-
oxidized
Returns the value of theoxidizedrecord component.- Returns:
- the value of the
oxidizedrecord component
-
waxed
Returns the value of thewaxedrecord component.- Returns:
- the value of the
waxedrecord component
-
waxedExposed
Returns the value of thewaxedExposedrecord component.- Returns:
- the value of the
waxedExposedrecord component
-
waxedWeathered
Returns the value of thewaxedWeatheredrecord component.- Returns:
- the value of the
waxedWeatheredrecord component
-
waxedOxidized
Returns the value of thewaxedOxidizedrecord component.- Returns:
- the value of the
waxedOxidizedrecord component
-