Record Class TradeRebalanceChestLootTableGenerator
java.lang.Object
java.lang.Record
net.minecraft.data.server.loottable.rebalance.TradeRebalanceChestLootTableGenerator
- Record Components:
registries-
- All Implemented Interfaces:
LootTableGenerator
public record TradeRebalanceChestLootTableGenerator(RegistryWrapper.WrapperLookup registries)
extends Record
implements LootTableGenerator
- Mappings:
Namespace Name named net/minecraft/data/server/loottable/rebalance/TradeRebalanceChestLootTableGeneratorintermediary net/minecraft/class_8794official mznamed registriesintermediary comp_2785official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryWrapper.WrapperLookupThe field for theregistriesrecord component. -
Constructor Summary
ConstructorsConstructorDescription -
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.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
-
TradeRebalanceChestLootTableGenerator
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceLootTableGenerator- Mappings:
Namespace Name Mixin selector named acceptLnet/minecraft/data/server/loottable/LootTableGenerator;accept(Ljava/util/function/BiConsumer;)Vintermediary method_10399Lnet/minecraft/class_7791;method_10399(Ljava/util/function/BiConsumer;)Vofficial generateLmx;generate(Ljava/util/function/BiConsumer;)V
-
createPillagerOutpostChestTableBuilder
- Mappings:
Namespace Name Mixin selector named createPillagerOutpostChestTableBuilderLnet/minecraft/data/server/loottable/rebalance/TradeRebalanceChestLootTableGenerator;createPillagerOutpostChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;intermediary method_53849Lnet/minecraft/class_8794;method_53849()Lnet/minecraft/class_52$class_53;official aLmz;a()Lerw$a;
-
createDesertPyramidChestTableBuilder
- Mappings:
Namespace Name Mixin selector named createDesertPyramidChestTableBuilderLnet/minecraft/data/server/loottable/rebalance/TradeRebalanceChestLootTableGenerator;createDesertPyramidChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;intermediary method_53850Lnet/minecraft/class_8794;method_53850()Lnet/minecraft/class_52$class_53;official bLmz;b()Lerw$a;
-
createAncientCityChestTableBuilder
- Mappings:
Namespace Name Mixin selector named createAncientCityChestTableBuilderLnet/minecraft/data/server/loottable/rebalance/TradeRebalanceChestLootTableGenerator;createAncientCityChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;intermediary method_53851Lnet/minecraft/class_8794;method_53851()Lnet/minecraft/class_52$class_53;official cLmz;c()Lerw$a;
-
createJungleTempleChestTableBuilder
- Mappings:
Namespace Name Mixin selector named createJungleTempleChestTableBuilderLnet/minecraft/data/server/loottable/rebalance/TradeRebalanceChestLootTableGenerator;createJungleTempleChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;intermediary method_53852Lnet/minecraft/class_8794;method_53852()Lnet/minecraft/class_52$class_53;official dLmz;d()Lerw$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
-