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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(LootFunction.Builder function) Deprecated.static FabricLootSupplierBuilderbuilder()Deprecated.Deprecated.Copies the pools and functions of thesupplierto this builder.Deprecated.Copies the pools and functions of thesupplierto this builder.static FabricLootSupplierBuilderDeprecated.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, randomSequenceIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.function.LootFunctionConsumingBuilder
apply, apply
-
Constructor Details
-
FabricLootSupplierBuilder
protected FabricLootSupplierBuilder()Deprecated.
-
-
Method Details
-
pool
Deprecated.- Overrides:
poolin classLootTable.Builder
-
type
Deprecated.- Overrides:
typein classLootTable.Builder
-
apply
Deprecated.- Specified by:
applyin interfaceLootFunctionConsumingBuilder<LootTable.Builder>- Overrides:
applyin classLootTable.Builder
-
withPool
Deprecated. -
withFunction
Deprecated. -
withPools
Deprecated. -
withFunctions
Deprecated. -
copyFrom
Deprecated.Copies the pools and functions of thesupplierto this builder. This is equal tocopyFrom(supplier, false). -
copyFrom
Deprecated.Copies the pools and functions of thesupplierto this builder. IfcopyTypeis true, thetypeof the supplier is also copied. -
builder
Deprecated. -
of
Deprecated.
-
FabricLootTableBuilder.