copyFrom

FabricLootSupplierBuilder copyFrom(LootTable supplier)

Copies the pools and functions of the {@code supplier} to this builder.This is equal to {@code copyFrom(supplier, false)}.

FabricLootSupplierBuilder copyFrom(LootTable supplier, boolean copyType)

Copies the pools and functions of the {@code supplier} to this builder.If {@code copyType} is true, the type of the supplier is also copied.