ItemDropContainer
Package: com.hypixel.hytale.server.core.asset.type.item.config.container
public abstract class ItemDropContainer implements IWeightedElementAbstract base for all item drop containers. Provides weighted selection support and the populateDrops API for generating item drops. Defines the polymorphic CODEC (CodecMapCodec) used to deserialize container subtypes by "Type" key.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
weight | double | Selection weight (default 100.0). |
CODEC | CodecMapCodec<ItemDropContainer> | Polymorphic codec dispatching by “Type” key. |
EMPTY_ARRAY | ItemDropContainer[] | Empty container array constant. |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.