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 FabricLootPoolBuilder
builder()
Deprecated.conditionally
(net.minecraft.loot.condition.LootCondition.Builder condition) Deprecated.copyFrom
(net.minecraft.loot.LootPool pool) Deprecated.Copies the entries, conditions and functions of thepool
to this builder.copyFrom
(net.minecraft.loot.LootPool pool, boolean copyRolls) Deprecated.Copies the entries, conditions and functions of thepool
to this builder.static FabricLootPoolBuilder
of
(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:
rolls
in classnet.minecraft.loot.LootPool.Builder
-
with
Deprecated.- Overrides:
with
in classnet.minecraft.loot.LootPool.Builder
-
conditionally
public FabricLootPoolBuilder conditionally(net.minecraft.loot.condition.LootCondition.Builder condition) Deprecated.- Specified by:
conditionally
in interfacenet.minecraft.loot.condition.LootConditionConsumingBuilder<net.minecraft.loot.LootPool.Builder>
- Overrides:
conditionally
in classnet.minecraft.loot.LootPool.Builder
-
apply
Deprecated.- Specified by:
apply
in interfacenet.minecraft.loot.function.LootFunctionConsumingBuilder<net.minecraft.loot.LootPool.Builder>
- Overrides:
apply
in classnet.minecraft.loot.LootPool.Builder
-
withEntry
Deprecated. -
withCondition
Deprecated. -
withFunction
Deprecated. -
copyFrom
Deprecated.Copies the entries, conditions and functions of thepool
to this builder.This is equal to
copyFrom(pool, false)
. -
copyFrom
Deprecated.Copies the entries, conditions and functions of thepool
to this builder.If
copyRolls
is true, therolls
of the pool are also copied. -
builder
Deprecated. -
of
Deprecated.
-
FabricLootPoolBuilder
.