Package net.minecraft
Record Class class_11171
java.lang.Object
java.lang.Record
net.minecraft.class_11171
- Record Components:
registries-
- All Implemented Interfaces:
LootTableGenerator
public record class_11171(RegistryWrapper.WrapperLookup registries)
extends Record
implements LootTableGenerator
- Mappings:
Namespace Name named net/minecraft/class_11171intermediary net/minecraft/class_11171official nynamed registriesintermediary comp_4021official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryWrapper.WrapperLookupThe field for theregistriesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(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) Returns the value of theregistriesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
registries
The field for theregistriesrecord 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). -
registries
Returns the value of theregistriesrecord component.- Returns:
- the value of the
registriesrecord component
-