Record Class VanillaChestLootTableGenerator

java.lang.Object
java.lang.Record
net.minecraft.data.server.loottable.vanilla.VanillaChestLootTableGenerator
Record Components:
registries -
All Implemented Interfaces:
LootTableGenerator

public record VanillaChestLootTableGenerator(RegistryWrapper.WrapperLookup registries) extends Record implements LootTableGenerator
Mappings:
Namespace Name
named net/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator
intermediary net/minecraft/class_2432
official nd
named registries
intermediary comp_2787
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 Lmx;generate(Ljava/util/function/BiConsumer;)V
    • acceptTrialSpawnerTables

      public void acceptTrialSpawnerTables(BiConsumer<RegistryKey<LootTable>,LootTable.Builder> lootTableBiConsumer)
      Mappings:
      Namespace Name Mixin selector
      named acceptTrialSpawnerTables Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;acceptTrialSpawnerTables(Ljava/util/function/BiConsumer;)V
      intermediary method_55304 Lnet/minecraft/class_2432;method_55304(Ljava/util/function/BiConsumer;)V
      official a Lnd;a(Ljava/util/function/BiConsumer;)V
    • createShipwreckSupplyChestTableBuilder

      public LootTable.Builder createShipwreckSupplyChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createShipwreckSupplyChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createShipwreckSupplyChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48499 Lnet/minecraft/class_2432;method_48499()Lnet/minecraft/class_52$class_53;
      official a Lnd;a()Lerw$a;
    • createShipwreckMapChestTableBuilder

      public LootTable.Builder createShipwreckMapChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createShipwreckMapChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createShipwreckMapChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48500 Lnet/minecraft/class_2432;method_48500()Lnet/minecraft/class_52$class_53;
      official b Lnd;b()Lerw$a;
    • createBastionHoglinStableChestTableBuilder

      public LootTable.Builder createBastionHoglinStableChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createBastionHoglinStableChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createBastionHoglinStableChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48501 Lnet/minecraft/class_2432;method_48501()Lnet/minecraft/class_52$class_53;
      official c Lnd;c()Lerw$a;
    • createBastionBridgeChestTableBuilder

      public LootTable.Builder createBastionBridgeChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createBastionBridgeChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createBastionBridgeChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48502 Lnet/minecraft/class_2432;method_48502()Lnet/minecraft/class_52$class_53;
      official d Lnd;d()Lerw$a;
    • createEndCityTreasureChestTableBuilder

      public LootTable.Builder createEndCityTreasureChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createEndCityTreasureChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createEndCityTreasureChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48503 Lnet/minecraft/class_2432;method_48503()Lnet/minecraft/class_52$class_53;
      official e Lnd;e()Lerw$a;
    • createNetherBridgeChestTableBuilder

      public LootTable.Builder createNetherBridgeChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createNetherBridgeChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createNetherBridgeChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48504 Lnet/minecraft/class_2432;method_48504()Lnet/minecraft/class_52$class_53;
      official f Lnd;f()Lerw$a;
    • createBastionTreasureChestTableBuilder

      public LootTable.Builder createBastionTreasureChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createBastionTreasureChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createBastionTreasureChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48505 Lnet/minecraft/class_2432;method_48505()Lnet/minecraft/class_52$class_53;
      official g Lnd;g()Lerw$a;
    • createBastionOtherChestTableBuilder

      public LootTable.Builder createBastionOtherChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createBastionOtherChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createBastionOtherChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48506 Lnet/minecraft/class_2432;method_48506()Lnet/minecraft/class_52$class_53;
      official h Lnd;h()Lerw$a;
    • createWoodlandMansionChestTableBuilder

      public LootTable.Builder createWoodlandMansionChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createWoodlandMansionChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createWoodlandMansionChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48507 Lnet/minecraft/class_2432;method_48507()Lnet/minecraft/class_52$class_53;
      official i Lnd;i()Lerw$a;
    • createStrongholdLibraryChestTableBuilder

      public LootTable.Builder createStrongholdLibraryChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createStrongholdLibraryChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createStrongholdLibraryChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48508 Lnet/minecraft/class_2432;method_48508()Lnet/minecraft/class_52$class_53;
      official j Lnd;j()Lerw$a;
    • createStrongholdCorridorChestTableBuilder

      public LootTable.Builder createStrongholdCorridorChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createStrongholdCorridorChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createStrongholdCorridorChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48509 Lnet/minecraft/class_2432;method_48509()Lnet/minecraft/class_52$class_53;
      official k Lnd;k()Lerw$a;
    • createAncientCityChestTableBuilder

      public LootTable.Builder createAncientCityChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createAncientCityChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createAncientCityChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48510 Lnet/minecraft/class_2432;method_48510()Lnet/minecraft/class_52$class_53;
      official l Lnd;l()Lerw$a;
    • createJungleTempleChestTableBuilder

      public LootTable.Builder createJungleTempleChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createJungleTempleChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createJungleTempleChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48511 Lnet/minecraft/class_2432;method_48511()Lnet/minecraft/class_52$class_53;
      official m Lnd;m()Lerw$a;
    • createShipwreckTreasureChestTableBuilder

      public LootTable.Builder createShipwreckTreasureChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createShipwreckTreasureChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createShipwreckTreasureChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48512 Lnet/minecraft/class_2432;method_48512()Lnet/minecraft/class_52$class_53;
      official n Lnd;n()Lerw$a;
    • createPillagerOutpostChestTableBuilder

      public LootTable.Builder createPillagerOutpostChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createPillagerOutpostChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createPillagerOutpostChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48513 Lnet/minecraft/class_2432;method_48513()Lnet/minecraft/class_52$class_53;
      official o Lnd;o()Lerw$a;
    • createDesertPyramidChestTableBuilder

      public LootTable.Builder createDesertPyramidChestTableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named createDesertPyramidChestTableBuilder Lnet/minecraft/data/server/loottable/vanilla/VanillaChestLootTableGenerator;createDesertPyramidChestTableBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_48514 Lnet/minecraft/class_2432;method_48514()Lnet/minecraft/class_52$class_53;
      official p Lnd;p()Lerw$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