Package net.minecraft.block
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/CopperBlockSetintermediary net/minecraft/class_11710official eexnamed unaffectedintermediary comp_4576official anamed exposedintermediary comp_4577official bnamed weatheredintermediary comp_4578official cnamed oxidizedintermediary comp_4579official dnamed waxedintermediary comp_4580official enamed waxedExposedintermediary comp_4581official fnamed waxedWeatheredintermediary comp_4582official gnamed waxedOxidizedintermediary comp_4583official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockThe field for theexposedrecord component.private final BlockThe field for theoxidizedrecord component.private final BlockThe field for theunaffectedrecord component.private final BlockThe field for thewaxedrecord component.private final BlockThe field for thewaxedExposedrecord component.private final BlockThe field for thewaxedOxidizedrecord component.private final BlockThe field for thewaxedWeatheredrecord component.private final BlockThe field for theweatheredrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <WaxedBlock extends Block,WeatheringBlock extends Block & Oxidizable>
CopperBlockSetcreate(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) final booleanIndicates whether some other object is "equal to" this one.exposed()Returns the value of theexposedrecord component.voidgetAll()final 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
-
CopperBlockSet
-
-
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 createLnet/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_73123Lnet/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 aLeex;a(Ljava/lang/String;Lorg/apache/commons/lang3/function/TriFunction;Ljava/util/function/Function;Ljava/util/function/BiFunction;Ljava/util/function/Function;)Leex;
-
getOxidizingMap
- Mappings:
Namespace Name Mixin selector named getOxidizingMapLnet/minecraft/block/CopperBlockSet;getOxidizingMap()Lcom/google/common/collect/ImmutableBiMap;intermediary method_73122Lnet/minecraft/class_11710;method_73122()Lcom/google/common/collect/ImmutableBiMap;official aLeex;a()Lcom/google/common/collect/ImmutableBiMap;
-
getWaxingMap
- Mappings:
Namespace Name Mixin selector named getWaxingMapLnet/minecraft/block/CopperBlockSet;getWaxingMap()Lcom/google/common/collect/ImmutableBiMap;intermediary method_73126Lnet/minecraft/class_11710;method_73126()Lcom/google/common/collect/ImmutableBiMap;official bLeex;b()Lcom/google/common/collect/ImmutableBiMap;
-
getAll
- Mappings:
Namespace Name Mixin selector named getAllLnet/minecraft/block/CopperBlockSet;getAll()Lcom/google/common/collect/ImmutableList;intermediary method_73128Lnet/minecraft/class_11710;method_73128()Lcom/google/common/collect/ImmutableList;official cLeex;c()Lcom/google/common/collect/ImmutableList;
-
forEach
- Mappings:
Namespace Name Mixin selector named forEachLnet/minecraft/block/CopperBlockSet;forEach(Ljava/util/function/Consumer;)Vintermediary method_73125Lnet/minecraft/class_11710;method_73125(Ljava/util/function/Consumer;)Vofficial aLeex;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
-