Package net.fabricmc.fabric.api.loot.v1
Class FabricLootSupplierBuilder
java.lang.Object
net.minecraft.loot.LootTable.Builder
net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
- All Implemented Interfaces:
LootFunctionConsumingBuilder<LootTable.Builder>
Deprecated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(LootFunction.Builder function) Deprecated.static FabricLootSupplierBuilder
builder()
Deprecated.Deprecated.Copies the pools and functions of thesupplier
to this builder.Deprecated.Copies the pools and functions of thesupplier
to this builder.static FabricLootSupplierBuilder
Deprecated.pool
(LootPool.Builder pool) Deprecated.type
(LootContextType type) Deprecated.withFunction
(LootFunction function) Deprecated.withFunctions
(Collection<LootFunction> functions) Deprecated.Deprecated.withPools
(Collection<LootPool> pools) Deprecated.Methods inherited from class net.minecraft.loot.LootTable.Builder
build, getThisFunctionConsumingBuilder, randomSequenceId
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.function.LootFunctionConsumingBuilder
apply, apply
-
Constructor Details
-
FabricLootSupplierBuilder
protected FabricLootSupplierBuilder()Deprecated.
-
-
Method Details
-
pool
Deprecated.- Overrides:
pool
in classLootTable.Builder
-
type
Deprecated.- Overrides:
type
in classLootTable.Builder
-
apply
Deprecated.- Specified by:
apply
in interfaceLootFunctionConsumingBuilder<LootTable.Builder>
- Overrides:
apply
in classLootTable.Builder
-
withPool
Deprecated. -
withFunction
Deprecated. -
withPools
Deprecated. -
withFunctions
Deprecated. -
copyFrom
Deprecated.Copies the pools and functions of thesupplier
to this builder. This is equal tocopyFrom(supplier, false)
. -
copyFrom
Deprecated.Copies the pools and functions of thesupplier
to this builder. IfcopyType
is true, thetype
of the supplier is also copied. -
builder
Deprecated. -
of
Deprecated.
-
FabricLootTableBuilder
.