跳到主要内容

其他

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 方法

  1. ARMOR_STAND
    1. setSmall <true/false> (设置为小型)
    2. setArms <true/false> (设置手臂)
  2. CREEPER
    1. setPowered <true/false> (设置带电)
  3. BAT
    1. setAwake <true/false> (设置唤醒)
  4. COW
    1. setAge <-1/0> (设置年龄)
  5. CHICKEN
    1. setAge <-1/0> (设置年龄)
  6. HORSE
    1. setAge <-1/0> (设置年龄)
    2. setStyle <BLACK_DOTS/NONE/WHITE/WHITE_DOTS/WHITEFIELD> (设置马匹样式)
    3. setColor <BLACK/BROWN/CHESTNUT/CREAMY/DARK_BROWN/GRAY/WHITE> (设置马匹颜色)
  7. LLAMA
    1. setAge <-1/0> (设置年龄)
  8. MAGMA_CUBE
    1. setSize <number> (设置大小)
  9. MUSHROOM_COW
    1. setAge <-1/0> (设置年龄)
  10. OCELOT
    1. setCatType <ALL_BLACK/BLACK/BRITISH_SHORTHAIR/CALICO/JELLIE/PERSIAN/RAGDOLL/RED/SIAMESE/TABBY/WHITE> (设置猫类型)
    2. setAge <-1/0> (设置年龄)
  11. PARROT
    1. setVariant <BLUE/CYAN/GRAY/GREEN/RED> (设置鹦鹉变种)
  12. PIG
    1. setAge <-1/0> (设置年龄)
  13. PANDA
    1. setAge <-1/0> (设置年龄)
    2. setMainGene <AGGRESSIVE/BROWN/LAZY/NORMAL/PLAYFUL/WEAK/WORRIED> (设置主基因)
    3. setHiddenGene <AGGRESSIVE/BROWN/LAZY/NORMAL/PLAYFUL/WEAK/WORRIED> (设置隐性基因)
  14. RABBIT
    1. setRabbitType <BLACK/BLACK_AND_WHITE/BROWN/GOLD/SALT_AND_PEPPER/THE_KILLER_BUNNY/WHITE> (设置兔子类型)
  15. SHEEP
    1. setAge <-1/0> (设置年龄)
    2. setSheared <true/false> (设置剪羊毛)
    3. setColor <BLACK/BLUE/BROWN/CYAN/GRAY/GREEN/LIGHT_BLUE/LIGHT_GRAY/ LIME/MAGENTA/ORANGE/PINK/PURPLE/RED/WHITE/YELLOW> (设置羊毛颜色)
  16. SNOWMAN
    1. setDerp <true/false> (设置傻笑)
  17. SLIME
    1. setSize <number> (设置大小)
  18. VILLAGER
    1. setProfession <ARMORER/BUTCHER/CARTOGRAPHER/CLERIC/FARMER/FISHERMAN/FLETCHER/LEATHERWORKER /LIBRARIAN/MASON/NITWIT/NONE/SHEPHERD/TOOLSMITH/WEAPONSMITH> (设置职业)
    2. setVillagerType <DESERT/JUNGLE/PLAINS/SAVANNA/SNOW/SWAMP/TAIGA> (设置村民类型)
    3. setAge <-1/0> (设置年龄)
  19. ZOMBIE
    1. setBaby <true/false> (设置小僵尸)
  20. WOLF
    1. setSitting <true/false> (设置坐下)
    2. setTamed <true/false> (设置驯服)
    3. setAngry <true/false> (设置愤怒)
    4. setAge <-1/0> (设置年龄)
    5. setCollarColor <BLACK/BLUE/BROWN/CYAN/GRAY/GREEN/LIGHT_BLUE/ LIGHT_GRAY/LIME/MAGENTA/ORANGE/PINK/PURPLE/RED/WHITE/YELLOW> (设置项圈颜色)
  21. FOX
    1. setFoxType <RED/SNOW> (设置狐狸类型)
    2. setSitting <true/false> (设置坐下)
    3. setSleeping <true/false> (设置睡眠)
    4. setAge <-1/0> (设置年龄)
    5. setCrouching <true/false> (设置蹲下)
  22. AXOLOTL
    1. setVariant <BLUE/CYAN/GOLD/LUCY/WILD> (设置美西螈变种)
    2. setAge <-1/0> (设置年龄)
  23. GOAT
    1. setScreaming <true/false> (设置尖叫)
    2. setAge <-1/0> (设置年龄)