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