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/TradeRebalanceChestLootTableGenerator
intermediary net/minecraft/class_8794
official my
named registries
intermediary comp_2785
official a
  • Field Details

  • Constructor Details

  • Method Details

    • accept

      public void accept(BiConsumer<RegistryKey<LootTable>,LootTable.Builder> lootTableBiConsumer)
      Specified by:
      accept in interface LootTableGenerator
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/data/server/loottable/LootTableGenerator;accept(Ljava/util/function/BiConsumer;)V
      intermediary method_10399 Lnet/minecraft/class_7791;method_10399(Ljava/util/function/BiConsumer;)V
      official generate Lmw;generate(Ljava/util/function/BiConsumer;)V
    • createPillagerOutpostChestTableBuilder

      public LootTable.Builder createPillagerOutpostChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createPillagerOutpostChestTableBuilder Lnet/minecraft/data/server/loottable/rebalance/TradeRebalanceChestLootTableGenerator;createPillagerOutpostChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_53849 Lnet/minecraft/class_8794;method_53849()Lnet/minecraft/class_52$class_53;
      official a Lmy;a()Lerq$a;
    • createDesertPyramidChestTableBuilder

      public LootTable.Builder createDesertPyramidChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createDesertPyramidChestTableBuilder Lnet/minecraft/data/server/loottable/rebalance/TradeRebalanceChestLootTableGenerator;createDesertPyramidChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_53850 Lnet/minecraft/class_8794;method_53850()Lnet/minecraft/class_52$class_53;
      official b Lmy;b()Lerq$a;
    • createAncientCityChestTableBuilder

      public LootTable.Builder createAncientCityChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createAncientCityChestTableBuilder Lnet/minecraft/data/server/loottable/rebalance/TradeRebalanceChestLootTableGenerator;createAncientCityChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_53851 Lnet/minecraft/class_8794;method_53851()Lnet/minecraft/class_52$class_53;
      official c Lmy;c()Lerq$a;
    • createJungleTempleChestTableBuilder

      public LootTable.Builder createJungleTempleChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createJungleTempleChestTableBuilder Lnet/minecraft/data/server/loottable/rebalance/TradeRebalanceChestLootTableGenerator;createJungleTempleChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_53852 Lnet/minecraft/class_8794;method_53852()Lnet/minecraft/class_52$class_53;
      official d Lmy;d()Lerq$a;
    • 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.
    • registries

      public RegistryWrapper.WrapperLookup registries()
      Returns the value of the registries record component.
      Returns:
      the value of the registries record component