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 FabricLootPoolBuilderbuilder()Deprecated.conditionally(LootCondition.Builder condition) Deprecated.Deprecated.Copies the entries, conditions and functions of thepoolto this builder.Deprecated.Copies the entries, conditions and functions of thepoolto this builder.static FabricLootPoolBuilderDeprecated.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, getThisFunctionConsumingBuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilder
conditionally, getThisConditionConsumingBuilderMethods inherited from interface net.minecraft.loot.function.LootFunctionConsumingBuilder
apply, apply
-
Method Details
-
rolls
Deprecated.- Overrides:
rollsin classLootPool.Builder
-
with
Deprecated.- Overrides:
within classLootPool.Builder
-
conditionally
Deprecated.- Specified by:
conditionallyin interfaceLootConditionConsumingBuilder<LootPool.Builder>- Overrides:
conditionallyin classLootPool.Builder
-
apply
Deprecated.- Specified by:
applyin interfaceLootFunctionConsumingBuilder<LootPool.Builder>- Overrides:
applyin classLootPool.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.