This mod allows for most entities to have their size changed, either enlarging or shrinking them.
It also provides an API that other mods can make use of to manipulate the size of entities and the time it takes for their size to change.
For the Fabric version, the most recently released jar can be used on 1.19.3, 1.19.2, 1.18.2, 1.17.1, 1.16.5, 1.15.2, and 1.14.4.
For the Forge version, there are separate jars for each supported Minecraft version. Those jars are for 1.19.3, 1.19.2, 1.18.2, 1.17.1, and 1.16.5.
Removing this mod will revert entities back to their normal size. Adding it back in will not restore their size.
If you have no mods that add ways to rescale entities, you can modify and view the scale and scaling delay of an entity in-game using the /scale command if you have operator permissions:
/scale set <value> [entity]
/scale set <scale_type> <value> [entity]
/scale <add|subtract|multiply|divide> <value> [entity]
/scale <add|subtract|multiply|divide> <scale_type> <value> [entity]
/scale get [entity]
/scale get <scale_type> [entity]
/scale compute <scale_type> [entity]
/scale delay set <ticks> [entity]
/scale delay set <scale_type> <ticks> [entity]
/scale delay get [entity]
/scale delay get <scale_type> [entity]
/scale reset [entity]
/scale reset <scale_type> [entity]
/scale nbt get [entity]
If you want your player's scale to persist after you respawn, there's a /scale subcommand for that as well:
/scale persist set <true|false> [entity]
/scale persist set <scale_type> <true|false> [entity]
/scale persist get <scale_type> [entity]
/scale persist reset [entity]
/scale persist reset <scale_type> [entity]
The following scale types are added by default:
pehkui:base: Generic scale type for easily affecting other scales
pehkui:width: Modifies width/length/depth (affected by pehkui:base)
pehkui:height: Modifies height (affected by pehkui:base)
pehkui:hitbox_width: Modifies width/length/depth of an entity's hitbox (affected by pehkui:width)
pehkui:hitbox_height: Modifies height of an entity's hitbox (affected by pehkui:height)
pehkui:eye_height: Modifies height of an entity's eye position (affected by pehkui:height)
pehkui:model_width: Modifies width/length/depth of an entity's model (affected by pehkui:width)
pehkui:model_height: Modifies height of an entity's model (affected by pehkui:height)
pehkui:third_person: Modifies player third person camera distance (affected by pehkui:height)
pehkui:motion: Modifies movement speed (affected by pehkui:base)
pehkui:step_height: Modifies step height (e.g. walking up slabs, stairs, snow) (affected by pehkui:motion)
pehkui:view_bobbing: Modifies view bobbing (affected by pehkui:motion)
pehkui:falling: Modifies fall damage (affected by pehkui:motion)
pehkui:flight: Modifies creative mode flight speed
pehkui:jump_height: Modifies jump height
pehkui:visibility: Modifies distance at which this entity will be targeted by enemies (affected by pehkui:base)
pehkui:reach: Modifies player reach distance (affected by pehkui:base)
pehkui:block_reach: Modifies player block reach distance (affected by pehkui:reach)
pehkui:entity_reach: Modifies player attack reach distance (affected by pehkui:reach)
pehkui:held_item: Modifies the scale of held items
pehkui:drops: Modifies the scale of dropped items (affected by pehkui:base)
pehkui:projectiles: Modifies the scale of thrown/shot projectiles (affected by pehkui:base)
pehkui:explosions: Modifies the size of the entity's explosion (e.g. Creepers, End Crystals) (affected by pehkui:base)
pehkui:attack: Modifies damage dealt
pehkui:defense: Modifies damage taken
pehkui:knockback: Modifies knockback dealt
pehkui:health: Modifies an entity's health
pehkui:mining_speed: Modifies block breaking speed
pehkui:attack_speed: Modifies attack speed
Lists of known issues to do with entities at different scales can be found at the links below:
- Issues related to smaller scales.
- Issues related to larger scales.
- Issues related to both smaller and larger scales.
Please post new issues on the issue tracker on GitHub and not in the comments.
Feel free to use it in any modpacks.
This mod should NOT be reposted to any mod rehosting websites UNLESS no files are copied over and the download is linked back to CurseForge.
Is there a way to get pehkui on fabric for 1.19.2? thanks!
In reply to seandpro:
yes it's shown on the main page and in the files section on the right 1.14.4-1.19.3(supports all versions in between 1.14.4 and 1.19.3, 1.19.2 is in between 1.14.4 and 1.19.3) if it crashes, you probably need a different version of fabric or fabric api
When I shrink down in size and mine a small portion out of a larger block, I cannot enter it. Is there a configuation to allow me in?
I noticed that if I change motion it also affects my jumping height, is that correct? Because now if i only want to be slower, I have to change motion, change fall damange height and jumping, but with diferent amounts to keep it proportional...
I mean if I just set motion to 0.5 and jumping to 2 it is too much jumping and it makes it strange...
hey, can anyone help me with the lag this mod creates? i have a good computer but as soon as i go up to around 60x size i drop to 0-3 fps... any tips?
In reply to lol50obmaj:
May I ask why you need to be 60x the normal size? and not there isn't much you can do because any game let alone Minecraft would lag at that rendering size when the engine isn't built for it.
Hello! I am having trouble in a modded server, version 1.19.2. We have some origins that make people taller/shorter but whenever they die the scale resets. We have tried doing /scale persist set true @a and /scale persist set pehkui:base true @a and none of them work. Then there's the config file and the scalesKeptOnRespawn = [] line, I tried tweaking it in singleplayer adding a "pehkui:base" inside the brackets but then the game crashes on launch, and if I remove the brackets and only add "true" it reverts back to "[]". Does someone know how to fix this?
Update: I found the keepAllScalesOnRespawn line on the config file (a.k.a I'm extremely dumb and didn't see it before) but even after setting it to "true" the error persists.
The big question is (Which i am surprised i couldn't find any answer through google) is how do you SUMMON a mob that is already sized big in a single command?
In reply to the_awoken_kami:
I believe there is no easy way and there is no nbt for pehkui scale... With multiple commands you can always summon a mob with a tag {Tags:["whateverUwant"]} and then use the @e[Tag=whateverUwant] to target the scaling command
In reply to the_awoken_kami:
An example with a cow at 1/4 size would be the following:
/summon minecraft:cow ~ ~ ~ {"pehkui:scale_data_types":{"pehkui:base":{scale:0.25f}}}
In reply to Virtuoel:
Thank you, this should prove very useful especially with some origin related things! ^^ Maybe worth mentioning these somewhere else too where it is more visible such as this main page.
In reply to the_awoken_kami:
Was wondering this too, glad it was addressed!
Is it client-side mod?
In reply to l1ub0:
Pretty sure its both server and client side.
Can there be a loot scale type? It will be awersome for the gameplay to get more food for killing bigger cows or an explosion of rotten flesh items for killing a giant zombie ^^
Thoughts on compat with voice chat mod, making it so if your smaller your voice is higher pitched, if your bigger your voice is lower pitched?
Any chance to have something similiar in 1.7.10 modding?
I haven't find any that does the job :/
Is there a way to scale an entities' hardpoints/mounting point with the model? For instance, if I wanted to make a large horse to ride, can the point where the player model mounts the entity be scaled along with the model somehow?
1.16.2 forge?
Don't know how to delete this comment lol. So I changed it to say what it's saying now so I don't look dumb