1.8 KiB
IScriptNpc.setNpcSpeed
Parça 1/7 · sonraki
setNpcSpeed(float speed) void Sets the speed of the NPC.
void setNpcState(java.lang.String stateId) Set NPC's state.
void setPathDistance(float sightRadius) Sets the path distance of the NPC.
void setShadowSize(float size) Sets the shadow size of the NPC.
void setSteeringOffset(int index, float x, float y, float z) Sets the steering offset for the NPC.
void setWander(boolean wander) Sets the wandering status of the NPC.
float setXpValue(int xp) Sets the XP value of the NPC.
Methods inherited from interface mchorse.mappet.api.scripts.user.entities.IScriptEntity addEntityPatrol, addMotion, applyPotion, clearAllRepeatingCommands, clearArmor, clearEntityPatrols, clearLeashHolder, clearPotions, clearRotationsAI, damage, damageAs, damageWithItemsAs, dismount, displayMorph, displayMorph, displayMorph, displayMorph, dropItem, dropItem, dropItem, executeCommand, executeRepeatingCommand, executeScript, executeScript, executeScript, getBoots, getBoundingBox, getChestplate, getCombinedLight, getDimension, getEntityData, getEntityId, getEyeHeight, getFallDistance, getFullData, getHeight, getHelmet, getHp, getLeashedEntities, getLeashHolder, getLeggings, getLook, getMainItem, getMaxHp, getMinecraftEntity, getModifier, getMorph, getMotion, getMount, getName, getOffItem, getPitch, getPosition, getRotations, getStates, getTarget, getTicks, getUniqueId, getWidth, getWorld, getYaw, getYawHead, giveItem, giveItem, hasPotion, isAIEnabled, isBurning, isEntityInRadius, isInArea, isInBlock, isInLava, isInWater, isItem, isLivingBase, isNpc, isNPC, isOnGround, isPlayer, isPositionLocked, isRotationLocked, isSame,