Package net.citizensnpcs.trait.versioned
Class ShulkerTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.ShulkerTrait
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ShulkerTraitpublic ShulkerTrait()
 
- 
- 
Method Details- 
getColor
- 
getPeekpublic int getPeek()
- 
onSpawnpublic void onSpawn()Description copied from class:TraitCalled when anNPCis spawned.NPC.getEntity()will return null until this is called. This is also called onAttach when the NPC is already spawned.
- 
runpublic void run()Description copied from class:TraitCalled every tick if overridden.
- 
setColor
- 
setPeekpublic void setPeek(int peek) 
- 
shulkerpublic static void shulker(CommandContext args, CommandSender sender, NPC npc, Integer peek, DyeColor color) throws CommandException - Throws:
- CommandException
 
 
-