Package net.minecraft
Record Class class_11171
java.lang.Object
java.lang.Record
net.minecraft.class_11171
- All Implemented Interfaces:
LootTableGenerator
public record class_11171(RegistryWrapper.WrapperLookup a)
extends Record
implements LootTableGenerator
- Mappings:
Namespace Name named net/minecraft/class_11171intermediary net/minecraft/class_11171official ny
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryWrapper.WrapperLookupThe field for thearecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiona()Returns the value of thearecord component.voidaccept(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.private static LeafEntry.Builder<?> method_70566(Identifier identifier, int int2) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
a
The field for thearecord component.
-
-
Constructor Details
-
class_11171
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceLootTableGenerator- Mappings:
Namespace Name Mixin selector named acceptLnet/minecraft/data/loottable/LootTableGenerator;accept(Ljava/util/function/BiConsumer;)Vintermediary method_10399Lnet/minecraft/class_7791;method_10399(Ljava/util/function/BiConsumer;)Vofficial generateLnm;generate(Ljava/util/function/BiConsumer;)V
-
method_70566
- Mappings:
Namespace Name Mixin selector named method_70566Lnet/minecraft/class_11171;method_70566(Lnet/minecraft/util/Identifier;I)Lnet/minecraft/loot/entry/LeafEntry$Builder;intermediary method_70566Lnet/minecraft/class_11171;method_70566(Lnet/minecraft/class_2960;I)Lnet/minecraft/class_85$class_86;official aLny;a(Lamb;I)Lffk$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). -
a
Returns the value of thearecord component.- Returns:
- the value of the
arecord component
-