SnakePlayer 图标

SnakePlayer

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 NeoForge26.2-v1.4.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/snakeplayer
资源信息

Minecraft 版本: 26.2

平台: neoforge

标签: cursed game-mechanics utility

资源介绍

Snake Player

logo
image

MOD that allows the player to become a snake.

The length of the player snake changes according to XpLevel.

The number of segments is XpLevel+1.

0. player NBT

NBT Key Type Purpose
IsSnake Boolean Indicates whether the player is in "snake mode."
SnakeHeadSize Float Stores the size of the player's head in snake mode.
SnakeBodySegmentSize Float Represents the size of the player's body segments in snake mode.
SnakeDamage Float Damage an entity suffers when it comes into contact with a player segment
SnakeSpeed Float Determines the automatic movement speed of the player in snake mode.

1. Command

1.0. vanilla

You can use vanilla commands to modify the experience.

/experience set @s 100 levels

1.1. /snake <targets> <dataparameter_key> <value>

  • targets: Specifies the player(s) to apply the command to.

  • DataParameter_key: Specifies which attribute to modify. The following keys are available:

  1. isSnake: A boolean (true or false) that determines whether the targeted player(s) should be in "snake mode."

  2. headSize: The size of the snake's head (float, range: 0.1 - 10.0).

  3. bodySegmentSize: The size of each body segment (float, range: 0.1 - 10.0).

  4. damage: The damage dealt by the snake's body segments (float, range: >= 0).

  5. speed: The movement speed of the snake (float, range: 0.0 - 0.75).

Effect: Adjusts the corresponding attribute for the targeted players.

Each attribute has specific valid ranges, and attempting to set a value outside these ranges will result in an error.

1.2./snake config <action> [parameters]

Configuration to allow players to respawn avoiding other player positions already present.

Find the respawn position by partitioning the rectangular region with one side L centered at cx and cz into a grid with size r.

  • set: Allows modifying configuration settings related to the snake system.
  • spread <true|false>

Enables or disables the spread functionality.

true: Enables spreading.

false: Disables spreading (default spawning).

  • spread_pos

Sets the spread position's center coordinates.

cx: X-coordinate (double)

cz: Z-coordinate (double)

  • spread_Range Sets the maximum range within which the snake spreads.

L: (double, range: 0.1 - 10000.0)

  • spread_minimum_distance Sets the minimum distance between spread entities.

r: (double, range: 0.1 - 100.0)

  • segment_experience Sets the segment's experience orb.

segment_experience: (int : 0 -)

  • get : Retrieves the current value of a configuration setting.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Nythoria

价格:0 墨喵币
下载量:0

查看详情
Amazingly Optimized

价格:0 墨喵币
下载量:0

查看详情
Contact: LoveRekindled

价格:0 墨喵币
下载量:0

查看详情
Damage Optimization│傷害優化

价格:0 墨喵币
下载量:0

查看详情