跳到正文

Cobblemon: AllShapesAndSizes – Lite

作者:Tigersenpai

Add a 3-way random size variance to your Pokemon world without suffocating them on walls! Works with Fakemon. Extremely lightweight.

收藏

截图

介绍

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

REQUIRES PEHKUI

Check out an extended version: ASAS: Trainer’s Influence

Add more variance to Cobblemon by randomly changing all Pokemon sizes without touching hitboxes!

All Pokemon will preserve their size after captured.

I handpicked the max/min height and width difference so the hitbox does not feel janky (used Gengar as comparison). A Pokémon can be from 0.4x to 1.75x fatter, and from 0.45x to 1.65x taller.

Works with all Pokémon and Fakemon on any version.

_Purely visual, does not change cobblemon gimmicks._

Since R3.0:

If you’re using a mod/datapack that uses pehkui to change player size, the Pokemon you send out will match your current size!

I felt it was appropriate this being the only exception where hitboxes should change.

ratio gif
##

Technical stuff read only if you want

To my knowledge there isn’t a way to track a captured pokemon so I had to come up with my own way. When a Pokemon spawns the following will happen to it:

  • Random size scale within boundaries (Height: 0.85x to 1.25x, Width: 0.9x to 1.2x).
  • Read Pokemon’s Nature.
  • Multiply a fixed value to its size according to the Nature.

Why?

To my knowledge, Nature is the only thing that doesn’t change about a Pokemon, so it’s the only thing I can latch on to when a Pokemon is captured.

In reality, Nature is the only thing the datapack sees when ballparking sizes.

Regarding matching player size:

  • Check if trained Pokemon exists.
  • Get pehkui player data and store on a scoreboard.
  • Use an interval notation system to apply a scale for every size until it starts failing “execute if” tests at an interval (check functions/actions/base).

I also left comments spread out the datapack so people can check.

DISCLAIMER: I am aware that PokeSizes Cobblemon exists and is a very similar, but not the same, concept.

常见问题

Cobblemon: AllShapesAndSizes – Lite 支持哪些 Minecraft 版本?

Cobblemon: AllShapesAndSizes – Lite 支持 Minecraft Java 版 1.19.2–1.21.1,共 3 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Cobblemon: AllShapesAndSizes – Lite 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Tigersenpai 的其他作品

查看全部 →