Package net.citizensnpcs.trait.versioned
Class PhantomTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.PhantomTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getSize()
static void
phantom
(CommandContext args, CommandSender sender, NPC npc, Integer size) void
run()
Called every tick if overridden.void
setSize
(int size)
-
Constructor Details
-
PhantomTrait
public PhantomTrait()
-
-
Method Details
-
getSize
public int getSize() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setSize
public void setSize(int size) -
phantom
public static void phantom(CommandContext args, CommandSender sender, NPC npc, Integer size) throws CommandException - Throws:
CommandException
-