Package org.moddingx.libx.datagen.loot
Class LootBuilders
java.lang.Object
org.moddingx.libx.datagen.loot.LootBuilders
Contains builders vor various loot table entry containers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>
Gets a loot builder for a loot entry that selects all items fro mall its children at once.static net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>
alternative
(List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>> entries) Gets a loot builder for alternative loot.static net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>
group
(List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>> entries) Gets a loot builder for group loot.static net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>
sequence
(List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>> entries) Gets a loot builder for sequence loot.
-
Constructor Details
-
LootBuilders
public LootBuilders()
-
-
Method Details
-
all
public static net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?> all(List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>> entries) Gets a loot builder for a loot entry that selects all items fro mall its children at once. -
group
public static net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?> group(List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>> entries) Gets a loot builder for group loot. -
alternative
public static net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?> alternative(List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>> entries) Gets a loot builder for alternative loot. -
sequence
public static net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?> sequence(List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>> entries) Gets a loot builder for sequence loot.
-