DeathDropItem

Represents a single item that drops at a citizen's location when they die.

package com.electro.hycitizens.models;

Constructors

DeathDropItem()
DeathDropItem(@Nonnull String itemId, int quantity)

getItemId / setItemId

@Nonnull String getItemId()
void setItemId(@Nonnull String itemId)

The item identifier string. Must match a valid Hytale item ID. Default: "".

getQuantity / setQuantity

int getQuantity()
void setQuantity(int quantity)

How many of this item to drop. Default: 1.