其他
NPC 类型
- PLAYER - 玩家
- ARMOR_STAND - 盔甲架
- CREEPER - 苦力怕
- BAT - 蝙蝠
- BLAZE - 烈焰人
- CAVE_SPIDER - 洞穴蜘蛛
- COW - 牛
- CHICKEN - 鸡
- ENDER_DRAGON - 末影龙
- ENDERMAN - 末影人
- ENDERMITE - 末影螨
- GHAST - 恶魂
- IRON_GOLEM - 铁傀儡
- GIANT - 巨人
- GUARDIAN - 守卫者
- HORSE - 马
- LLAMA - 美洲驼
- MAGMA_CUBE - 岩浆怪
- MUSHROOM_COW -蘑菇牛
- OCELOT - 猫
- PARROT - 鹦鹉
- PIG - 猪
- PANDA - 熊猫
- RABBIT - 兔子
- POLAR_BEAR - 北极熊
- SHEEP - 羊
- SILVERFISH - 银鱼
- SNOWMAN - 雪人
- SKELETON - 骷髅
- SHULKER - 潜影贝
- SLIME - 粘液怪
- SPIDER - 蜘蛛
- SQUID - 鱿鱼
- VILLAGER - 村民
- WITCH - 女巫
- WITHER - 凋灵
- ZOMBIE - 僵尸
- WOLF - 狼
- FOX - 狐狸
- AXOLOTL - 美西螈
- GOAT - 山羊
所有 /znpcs customize
方法
- ARMOR_STAND
setSmall <true/false>
(设置为小型)setArms <true/false>
(设置手臂)
- CREEPER
setPowered <true/false>
(设置带电)
- BAT
setAwake <true/false>
(设置唤醒)
- COW
setAge <-1/0>
(设置年龄)
- CHICKEN
setAge <-1/0>
(设置年龄)
- HORSE
setAge <-1/0>
(设置年龄)setStyle <BLACK_DOTS/NONE/WHITE/WHITE_DOTS/WHITEFIELD>
(设置马匹样式)setColor <BLACK/BROWN/CHESTNUT/CREAMY/DARK_BROWN/GRAY/WHITE>
(设置马匹颜色)
- LLAMA
setAge <-1/0>
(设置年龄)
- MAGMA_CUBE
setSize <number>
(设置大小)
- MUSHROOM_COW
setAge <-1/0>
(设置年龄)
- OCELOT
setCatType <ALL_BLACK/BLACK/BRITISH_SHORTHAIR/CALICO/JELLIE/PERSIAN/RAGDOLL/RED/SIAMESE/TABBY/WHITE>
(设置猫类型)setAge <-1/0>
(设置年龄)
- PARROT
setVariant <BLUE/CYAN/GRAY/GREEN/RED>
(设置鹦鹉变种)
- PIG
setAge <-1/0>
(设置年龄)
- PANDA
setAge <-1/0>
(设置年龄)setMainGene <AGGRESSIVE/BROWN/LAZY/NORMAL/PLAYFUL/WEAK/WORRIED>
(设置主基因)setHiddenGene <AGGRESSIVE/BROWN/LAZY/NORMAL/PLAYFUL/WEAK/WORRIED>
(设置隐性基因)
- RABBIT
setRabbitType <BLACK/BLACK_AND_WHITE/BROWN/GOLD/SALT_AND_PEPPER/THE_KILLER_BUNNY/WHITE>
(设置兔子类型)
- SHEEP
setAge <-1/0>
(设置年龄)setSheared <true/false>
(设置剪羊毛)setColor <BLACK/BLUE/BROWN/CYAN/GRAY/GREEN/LIGHT_BLUE/LIGHT_GRAY/ LIME/MAGENTA/ORANGE/PINK/PURPLE/RED/WHITE/YELLOW>
(设置羊毛颜色)
- SNOWMAN
setDerp <true/false>
(设置傻笑)
- SLIME
setSize <number>
(设置大小)
- VILLAGER
setProfession <ARMORER/BUTCHER/CARTOGRAPHER/CLERIC/FARMER/FISHERMAN/FLETCHER/LEATHERWORKER /LIBRARIAN/MASON/NITWIT/NONE/SHEPHERD/TOOLSMITH/WEAPONSMITH>
(设置职业)setVillagerType <DESERT/JUNGLE/PLAINS/SAVANNA/SNOW/SWAMP/TAIGA>
(设置村民类型)setAge <-1/0>
(设置年龄)
- ZOMBIE
setBaby <true/false>
(设置小僵尸)
- WOLF
setSitting <true/false>
(设置坐下)setTamed <true/false>
(设置驯服)setAngry <true/false>
(设置愤怒)setAge <-1/0>
(设置年龄)setCollarColor <BLACK/BLUE/BROWN/CYAN/GRAY/GREEN/LIGHT_BLUE/ LIGHT_GRAY/LIME/MAGENTA/ORANGE/PINK/PURPLE/RED/WHITE/YELLOW>
(设置项圈颜色)
- FOX
setFoxType <RED/SNOW>
(设置狐狸类型)setSitting <true/false>
(设置坐下)setSleeping <true/false>
(设置睡眠)setAge <-1/0>
(设置年龄)setCrouching <true/false>
(设置蹲下)
- AXOLOTL
setVariant <BLUE/CYAN/GOLD/LUCY/WILD>
(设置美西螈变种)setAge <-1/0>
(设置年龄)
- GOAT
setScreaming <true/false>
(设置尖叫)setAge <-1/0>
(设置年龄)