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/CopperBlockItemSet
intermediary net/minecraft/class_11708
official djg
named unaffected
intermediary comp_4568
official a
named exposed
intermediary comp_4569
official b
named weathered
intermediary comp_4570
official c
named oxidized
intermediary comp_4571
official d
named waxed
intermediary comp_4572
official e
named waxedExposed
intermediary comp_4573
official f
named waxedWeathered
intermediary comp_4574
official g
named waxedOxidized
intermediary comp_4575
official h
  • Field Details

    • unaffected

      private final Item unaffected
      The field for the unaffected record component.
    • exposed

      private final Item exposed
      The field for the exposed record component.
    • weathered

      private final Item weathered
      The field for the weathered record component.
    • oxidized

      private final Item oxidized
      The field for the oxidized record component.
    • waxed

      private final Item waxed
      The field for the waxed record component.
    • waxedExposed

      private final Item waxedExposed
      The field for the waxedExposed record component.
    • waxedWeathered

      private final Item waxedWeathered
      The field for the waxedWeathered record component.
    • waxedOxidized

      private final Item waxedOxidized
      The field for the waxedOxidized record component.
  • Constructor Details

  • Method Details

    • create

      public static CopperBlockItemSet create(CopperBlockSet blockSet, Function<Block,Item> registerFunction)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/item/CopperBlockItemSet;create(Lnet/minecraft/block/CopperBlockSet;Ljava/util/function/Function;)Lnet/minecraft/item/CopperBlockItemSet;
      intermediary method_73102 Lnet/minecraft/class_11708;method_73102(Lnet/minecraft/class_11710;Ljava/util/function/Function;)Lnet/minecraft/class_11708;
      official a Ldjg;a(Leex;Ljava/util/function/Function;)Ldjg;
    • getWaxingMap

      public ImmutableBiMap<Item,Item> getWaxingMap()
      Mappings:
      Namespace Name Mixin selector
      named getWaxingMap Lnet/minecraft/item/CopperBlockItemSet;getWaxingMap()Lcom/google/common/collect/ImmutableBiMap;
      intermediary method_73101 Lnet/minecraft/class_11708;method_73101()Lcom/google/common/collect/ImmutableBiMap;
      official a Ldjg;a()Lcom/google/common/collect/ImmutableBiMap;
    • forEach

      public void forEach(Consumer<Item> consumer)
      Mappings:
      Namespace Name Mixin selector
      named forEach Lnet/minecraft/item/CopperBlockItemSet;forEach(Ljava/util/function/Consumer;)V
      intermediary method_73103 Lnet/minecraft/class_11708;method_73103(Ljava/util/function/Consumer;)V
      official a Ldjg;a(Ljava/util/function/Consumer;)V
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • unaffected

      public Item unaffected()
      Returns the value of the unaffected record component.
      Returns:
      the value of the unaffected record component
    • exposed

      public Item exposed()
      Returns the value of the exposed record component.
      Returns:
      the value of the exposed record component
    • weathered

      public Item weathered()
      Returns the value of the weathered record component.
      Returns:
      the value of the weathered record component
    • oxidized

      public Item oxidized()
      Returns the value of the oxidized record component.
      Returns:
      the value of the oxidized record component
    • waxed

      public Item waxed()
      Returns the value of the waxed record component.
      Returns:
      the value of the waxed record component
    • waxedExposed

      public Item waxedExposed()
      Returns the value of the waxedExposed record component.
      Returns:
      the value of the waxedExposed record component
    • waxedWeathered

      public Item waxedWeathered()
      Returns the value of the waxedWeathered record component.
      Returns:
      the value of the waxedWeathered record component
    • waxedOxidized

      public Item waxedOxidized()
      Returns the value of the waxedOxidized record component.
      Returns:
      the value of the waxedOxidized record component