copyFrom

FabricLootPoolBuilder copyFrom(LootPool pool)

Copies the entries, conditions and functions of the {@code pool} to thisbuilder.

This is equal to {@code copyFrom(pool, false)}.

FabricLootPoolBuilder copyFrom(LootPool pool, boolean copyRolls)

Copies the entries, conditions and functions of the {@code pool} to thisbuilder.

If {@code copyRolls} is true, the rolls of the pool are also copied.