public class RoleUtils
Class RoleUtils. Provides roleutils functionality for the Hytale server.
java.lang.Object > RoleUtils
Field Summary
inventory
final
Inventory
inventory
Field inventory.
Method Detail
setHotbarItems
static
void
setHotbarItems
(@Nonnull final NPCEntity npcComponent, @Nonnull final String[] hotbarItems)
Method setHotbarItems.
- Parameters:
@Nonnull final NPCEntitynpcComponent@Nonnull final String[]hotbarItems
setOffHandItems
static
void
setOffHandItems
(@Nonnull final NPCEntity npcComponent, @Nonnull final String[] offHandItems)
Method setOffHandItems.
- Parameters:
@Nonnull final NPCEntitynpcComponent@Nonnull final String[]offHandItems
setItemInHand
static
void
setItemInHand
(@Nonnull final NPCEntity npcComponent, @Nullable final String itemInHand)
Method setItemInHand.
- Parameters:
@Nonnull final NPCEntitynpcComponent@Nullable final StringitemInHand
setArmor
Method setArmor.
- Parameters:
@Nonnull final NPCEntitynpcComponent@Nullable final Stringarmor