HyCodeYourTale
classpublicabstractPriority 1

ItemDropContainer

com.hypixel.hytale.server.core.asset.type.item.config.container.ItemDropContainer

implements IWeightedElement

3

Methods

3

Public Methods

1

Fields

2

Constructors

Constants

CodecMapCodec<ItemDropContainer>CODEC= new CodecMapCodec<>("Type")
BuilderCodec<ItemDropContainer>DEFAULT_CODEC= BuilderCodec.abstractBuilder(ItemDropContainer.class) .addField( new KeyedCodec<>(...
ItemDropContainer[]EMPTY_ARRAY= new ItemDropContainer[0]

Constructors

protected
ItemDropContainer()
public
ItemDropContainer(double weight)

Methods

Public Methods (3)

public
List<ItemDrop> getAllDrops(List<ItemDrop> var1)
public
double getWeight()
@Override
public
void populateDrops(List<ItemDrop> drops, DoubleSupplier chanceProvider, String droplistId)

Fields

Protected Fields (1)

protecteddouble weight

Related Classes