| Package | Description |
|---|---|
| net.risingworld.api.objects.custom |
| Modifier and Type | Method and Description |
|---|---|
CustomItem.Action |
CustomItem.getPrimaryAction() |
CustomItem.Action |
CustomItem.getSecondaryAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
CustomItem.setPrimaryAction(Animation primaryAnimation,
float triggerDelay,
CustomItem.Action action)
Defines the (custom) primary action and animation for this item.
|
void |
CustomItem.setSecondaryAction(Animation secondaryAnimation,
float triggerDelay,
CustomItem.Action action) |