Record Class CopperBlockSet

java.lang.Object
java.lang.Record
net.minecraft.block.CopperBlockSet
Record Components:
unaffected -
exposed -
weathered -
oxidized -
waxed -
waxedExposed -
waxedWeathered -
waxedOxidized -

public record CopperBlockSet(Block unaffected, Block exposed, Block weathered, Block oxidized, Block waxed, Block waxedExposed, Block waxedWeathered, Block waxedOxidized) extends Record
Mappings:
Namespace Name
named net/minecraft/block/CopperBlockSet
intermediary net/minecraft/class_11710
official eex
named unaffected
intermediary comp_4576
official a
named exposed
intermediary comp_4577
official b
named weathered
intermediary comp_4578
official c
named oxidized
intermediary comp_4579
official d
named waxed
intermediary comp_4580
official e
named waxedExposed
intermediary comp_4581
official f
named waxedWeathered
intermediary comp_4582
official g
named waxedOxidized
intermediary comp_4583
official h
  • Field Details

    • unaffected

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

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

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

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

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

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

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

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

  • Method Details

    • create

      public static <WaxedBlock extends Block, WeatheringBlock extends Block & Oxidizable> CopperBlockSet create(String baseId, TriFunction<String,Function<AbstractBlock.Settings,Block>,AbstractBlock.Settings,Block> registerFunction, Function<AbstractBlock.Settings,WaxedBlock> waxedBlockFactory, BiFunction<Oxidizable.OxidationLevel,AbstractBlock.Settings,WeatheringBlock> unwaxedBlockFactory, Function<Oxidizable.OxidationLevel,AbstractBlock.Settings> settingsFromOxidationLevel)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/block/CopperBlockSet;create(Ljava/lang/String;Lorg/apache/commons/lang3/function/TriFunction;Ljava/util/function/Function;Ljava/util/function/BiFunction;Ljava/util/function/Function;)Lnet/minecraft/block/CopperBlockSet;
      intermediary method_73123 Lnet/minecraft/class_11710;method_73123(Ljava/lang/String;Lorg/apache/commons/lang3/function/TriFunction;Ljava/util/function/Function;Ljava/util/function/BiFunction;Ljava/util/function/Function;)Lnet/minecraft/class_11710;
      official a Leex;a(Ljava/lang/String;Lorg/apache/commons/lang3/function/TriFunction;Ljava/util/function/Function;Ljava/util/function/BiFunction;Ljava/util/function/Function;)Leex;
    • getOxidizingMap

      public ImmutableBiMap<Block,Block> getOxidizingMap()
      Mappings:
      Namespace Name Mixin selector
      named getOxidizingMap Lnet/minecraft/block/CopperBlockSet;getOxidizingMap()Lcom/google/common/collect/ImmutableBiMap;
      intermediary method_73122 Lnet/minecraft/class_11710;method_73122()Lcom/google/common/collect/ImmutableBiMap;
      official a Leex;a()Lcom/google/common/collect/ImmutableBiMap;
    • getWaxingMap

      public ImmutableBiMap<Block,Block> getWaxingMap()
      Mappings:
      Namespace Name Mixin selector
      named getWaxingMap Lnet/minecraft/block/CopperBlockSet;getWaxingMap()Lcom/google/common/collect/ImmutableBiMap;
      intermediary method_73126 Lnet/minecraft/class_11710;method_73126()Lcom/google/common/collect/ImmutableBiMap;
      official b Leex;b()Lcom/google/common/collect/ImmutableBiMap;
    • getAll

      public ImmutableList<Block> getAll()
      Mappings:
      Namespace Name Mixin selector
      named getAll Lnet/minecraft/block/CopperBlockSet;getAll()Lcom/google/common/collect/ImmutableList;
      intermediary method_73128 Lnet/minecraft/class_11710;method_73128()Lcom/google/common/collect/ImmutableList;
      official c Leex;c()Lcom/google/common/collect/ImmutableList;
    • forEach

      public void forEach(Consumer<Block> consumer)
      Mappings:
      Namespace Name Mixin selector
      named forEach Lnet/minecraft/block/CopperBlockSet;forEach(Ljava/util/function/Consumer;)V
      intermediary method_73125 Lnet/minecraft/class_11710;method_73125(Ljava/util/function/Consumer;)V
      official a Leex;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 Block unaffected()
      Returns the value of the unaffected record component.
      Returns:
      the value of the unaffected record component
    • exposed

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

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

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

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

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

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

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