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:
net.minecraft.loot.function.LootFunctionConsumingBuilder<net.minecraft.loot.LootTable.Builder>
Deprecated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(net.minecraft.loot.function.LootFunction.Builder function) Deprecated.static FabricLootSupplierBuilder
builder()
Deprecated.copyFrom
(net.minecraft.loot.LootTable supplier) Deprecated.Copies the pools and functions of thesupplier
to this builder.copyFrom
(net.minecraft.loot.LootTable supplier, boolean copyType) Deprecated.Copies the pools and functions of thesupplier
to this builder.static FabricLootSupplierBuilder
of
(net.minecraft.loot.LootTable supplier) Deprecated.pool
(net.minecraft.loot.LootPool.Builder pool) Deprecated.type
(net.minecraft.loot.context.LootContextType type) Deprecated.withFunction
(net.minecraft.loot.function.LootFunction function) Deprecated.withFunctions
(Collection<net.minecraft.loot.function.LootFunction> functions) Deprecated.withPool
(net.minecraft.loot.LootPool pool) Deprecated.withPools
(Collection<net.minecraft.loot.LootPool> pools) Deprecated.Methods inherited from class net.minecraft.loot.LootTable.Builder
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.function.LootFunctionConsumingBuilder
apply, apply
-
Constructor Details
-
FabricLootSupplierBuilder
protected FabricLootSupplierBuilder()Deprecated.
-
-
Method Details
-
pool
Deprecated.- Overrides:
pool
in classnet.minecraft.loot.LootTable.Builder
-
type
Deprecated.- Overrides:
type
in classnet.minecraft.loot.LootTable.Builder
-
apply
Deprecated.- Specified by:
apply
in interfacenet.minecraft.loot.function.LootFunctionConsumingBuilder<net.minecraft.loot.LootTable.Builder>
- Overrides:
apply
in classnet.minecraft.loot.LootTable.Builder
-
withPool
Deprecated. -
withFunction
Deprecated. -
withPools
Deprecated. -
withFunctions
public FabricLootSupplierBuilder withFunctions(Collection<net.minecraft.loot.function.LootFunction> functions) 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
.