Перейти к содержимому
Mineforgian

Cobblemon: AllShapesAndSizes - Lite (ASAS)

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

Загрузки
519
Подписчики
1
Обновлён
9 июня 2025 г.
Лицензия
MIT

Опубликован 23 апреля 2025 г.

REQUIRES PEHKUI | Optional - Heavily Recommend Collision Fix (Client)

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

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

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, and will preserve its size after captured.

Works with every Pokémon and Fakemon.

Should work with any version and any mod/datapack. 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.

Ченджлог

R3.4Релиз1.19.2, 1.20.1, 1.21.1 · 9 июня 2025 г.

some fixes to a couple functions

some code optimization

3.3Релиз1.19.2, 1.20.1, 1.21.1 · 16 мая 2025 г.

Rebranded to AllShapesAndSizes - Lite, this project isn't the "main" one, it's just the first one i started working on, and is currently the one with the least features, so, lite

Changes to add full compatibility with ASAS Global Animations

replace an unoptimized check with a less intrusive one

3.2Релиз1.19.2, 1.20.1, 1.21.1 · 10 мая 2025 г.

Optimizations on checks

Switch set methods to multiply/divide for even more mod compatibility, I'll be surprised if any mod is incompatible with the datapack at this point

increased check frequency by a couple ticks to mitigate size inconsistency

Some changes to make the datapack compatible with a future new project regarding animations with pehkui

3.1Релиз1.19.2, 1.20.1, 1.21.1 · 26 апреля 2025 г.

hotfix

3.0Релиз1.19.2, 1.20.1, 1.21.1 · 25 апреля 2025 г.

I'm on a roll here

Made pokemon sync with their trainers size if it's not the default size, and a bit more optimizations

2.1Релиз1.19.2, 1.20.1, 1.21.1 · 25 апреля 2025 г.

Pretty much a complete overhaul: toned down check frequency, replaced forced base scale with something way less intrusive, switched to multiply instead of set

Added comments everywhere if anyone is interested how the datapack works.

Will release another version of the datapack: ASAS - Trainer's Influence, check it out when it's released

1.0Релиз1.19.2, 1.20.1, 1.21.1 · 23 апреля 2025 г.

Initial Release

Комментарии

Загружаем…