跳到正文

Peekaboo!

作者:Love Tropics

Disguise as a mob, another player - or maybe just wear a Creeper on your head!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Peekaboo!

Disguise as a mob, another player – or maybe just wear a Creeper on your head! So stylish!

This mod is creative-only right now.

Items

Disguise

Equippable in the head slot, this item replaces the wearer’s player model with that of the Disguise item.

A player wearing a Pig Disguise looks just like a normal Pig, but with a player name tag.

Player inventory menu, but the player has equipped a Chicken Disguise item in their head slot. The player appears to be a Chicken.

Mob Hat

Equippable in the head slot, this item renders an entity model on the player’s head.

Player inventory menu, but the player has equipped a Frog Hat item in their head slot. The player has a Frog model on top of their head.

Plushie

Just like a Mob Hat, but cannot be equipped.

Commands

The only command added by _Peekaboo!_ is /disguise. This command modifies the Disguise of the source entity.

/disguise as <entity> [<nbt>]

Disguises the source entity (@s) as the specified entity type argument, with optional additional entity data.

For example:

  • /disguise as minecraft:pig – disguises as a plain Pig
  • /disguise as minecraft:creeper {powered:true} – disguises as a Charged Creeper

/disguise skin as <player>

Disguises the source player with the skin of the specified player name.

For example:

  • /disguise skin as Cojomax99 – replaces the source player’s skin with that of Cojomax99
  • Note: this will only be visible if the source player is not already disguised as another entity

/disguise skin clear

Clears the current skin disguise of the source player, if any is set.

/disguise name as <name>

Replaces the source entity’s custom name with the specified name Text Component.

For example:

  • /disguise name as "Dwight Schrute"

/disguise name clear

Clears the current custom name disguise of the source entity, if any is set.

/disguise scale <scale>

Sets the scale modifier for the current disguise of the source entity.
scale is a float between 0.1 and 20.0.

For example:

  • /disguise scale 0.5 – sized to 50% of normal scale
  • /disguise scale 1 – resets scale to normal

/disguise hideShadow <value>

If value is true, the source entity will cast no shadow.

For example:

  • /disguise hideShadow true – hides the source entity’s shadow

/disguise clear

Clears all currently applied disguise properties on the source entity, if any are set.

Applying disguises to other entities

Any Living Entity (generally: entities with AI, Players, and Armor Stands) can be disguised.
/execute as can be used to disguise another entity.

For example:

  • /execute as @n[type=wolf] run disguise as sheep – disguises the nearest Wolf as a Sheep

Item Components

peekaboo:disguise

A specification of the Disguise to be applied when equipping an item.

Format: object with fields:

  • entity – optional entity data (same format as the minecraft:entity_data component), the entity disguise to apply
  • If not present, no entity disguise will be applied
  • scale – optional float between 0.1 and 20.0, the scale modifier to apply
  • Default: 1.0
  • changes_size – optional boolean, true if the disguise entity’s bounding box should be inherited
  • Default: true
  • custom_name – optional Text Component, the display name override (both in-world and in the Tab List)
  • skin_profile – optional profile data (same format as the minecraft:profile component), the player skin disguise to use
  • hide_shadow – optional boolean, true if the entity’s shadow should be hidden
  • Default: false
  • e.g. peekaboo:disguise={entity:{id:'minecraft:creeper',powered:true}}
  • e.g. peekaboo:disguise={skin_profile:{name:'Cojomax99'},scale:1.5}

peekaboo:entity

A specification of the entity to be rendered for the Mob Hat and Plushie items.

Format: same as the minecraft:entity_data component

  • e.g. peekaboo:entity={id:'minecraft:creeper',powered:true}

peekaboo:size

A scale modifier for the rendering of Disguise, Mob Hat, or Plushie items.

Format: positive float
e.g. peekaboo:size=1.5

常见问题

Peekaboo! 支持哪些 Minecraft 版本?

Peekaboo! 支持 Minecraft Java 版 1.21.8–26.2,共 6 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Peekaboo! 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分