Package net.fabricmc.fabric.api.loot.v1
Class FabricLootPoolBuilder
java.lang.Object
net.minecraft.loot.LootPool.Builder
net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
- All Implemented Interfaces:
net.minecraft.loot.condition.LootConditionConsumingBuilder<net.minecraft.loot.LootPool.Builder>,net.minecraft.loot.function.LootFunctionConsumingBuilder<net.minecraft.loot.LootPool.Builder>
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionapply(net.minecraft.loot.function.LootFunction.Builder function) Deprecated.static FabricLootPoolBuilderbuilder()Deprecated.conditionally(net.minecraft.loot.condition.LootCondition.Builder condition) Deprecated.copyFrom(net.minecraft.loot.LootPool pool) Deprecated.Copies the entries, conditions and functions of thepoolto this builder.copyFrom(net.minecraft.loot.LootPool pool, boolean copyRolls) Deprecated.Copies the entries, conditions and functions of thepoolto this builder.static FabricLootPoolBuilderof(net.minecraft.loot.LootPool pool) Deprecated.rolls(net.minecraft.loot.provider.number.LootNumberProvider range) Deprecated.with(net.minecraft.loot.entry.LootPoolEntry.Builder<?> entry) Deprecated.withCondition(net.minecraft.loot.condition.LootCondition condition) Deprecated.withEntry(net.minecraft.loot.entry.LootPoolEntry entry) Deprecated.withFunction(net.minecraft.loot.function.LootFunction function) Deprecated.Methods inherited from class net.minecraft.loot.LootPool.Builder
bonusRolls, build, getThis
-
Method Details
-
rolls
Deprecated.- Overrides:
rollsin classnet.minecraft.loot.LootPool.Builder
-
with
Deprecated.- Overrides:
within classnet.minecraft.loot.LootPool.Builder
-
conditionally
public FabricLootPoolBuilder conditionally(net.minecraft.loot.condition.LootCondition.Builder condition) Deprecated.- Specified by:
conditionallyin interfacenet.minecraft.loot.condition.LootConditionConsumingBuilder<net.minecraft.loot.LootPool.Builder>- Overrides:
conditionallyin classnet.minecraft.loot.LootPool.Builder
-
apply
Deprecated.- Specified by:
applyin interfacenet.minecraft.loot.function.LootFunctionConsumingBuilder<net.minecraft.loot.LootPool.Builder>- Overrides:
applyin classnet.minecraft.loot.LootPool.Builder
-
withEntry
Deprecated. -
withCondition
Deprecated. -
withFunction
Deprecated. -
copyFrom
Deprecated.Copies the entries, conditions and functions of thepoolto this builder.This is equal to
copyFrom(pool, false). -
copyFrom
Deprecated.Copies the entries, conditions and functions of thepoolto this builder.If
copyRollsis true, therollsof the pool are also copied. -
builder
Deprecated. -
of
Deprecated.
-
FabricLootPoolBuilder.