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:
LootConditionConsumingBuilder<LootPool.Builder>
,LootFunctionConsumingBuilder<LootPool.Builder>
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionapply
(LootFunction.Builder function) Deprecated.static FabricLootPoolBuilder
builder()
Deprecated.conditionally
(LootCondition.Builder condition) Deprecated.Deprecated.Copies the entries, conditions and functions of thepool
to this builder.Deprecated.Copies the entries, conditions and functions of thepool
to this builder.static FabricLootPoolBuilder
Deprecated.rolls
(LootNumberProvider range) Deprecated.with
(LootPoolEntry.Builder<?> entry) Deprecated.withCondition
(LootCondition condition) Deprecated.withEntry
(LootPoolEntry entry) Deprecated.withFunction
(LootFunction function) Deprecated.Methods inherited from class net.minecraft.loot.LootPool.Builder
bonusRolls, build, getThisFunctionConsumingBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilder
conditionally, getThisConditionConsumingBuilder
Methods inherited from interface net.minecraft.loot.function.LootFunctionConsumingBuilder
apply, apply
-
Method Details
-
rolls
Deprecated.- Overrides:
rolls
in classLootPool.Builder
-
with
Deprecated.- Overrides:
with
in classLootPool.Builder
-
conditionally
Deprecated.- Specified by:
conditionally
in interfaceLootConditionConsumingBuilder<LootPool.Builder>
- Overrides:
conditionally
in classLootPool.Builder
-
apply
Deprecated.- Specified by:
apply
in interfaceLootFunctionConsumingBuilder<LootPool.Builder>
- Overrides:
apply
in classLootPool.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
.