# Entity Scaler
Change the size of players and mobs in Minecraft Bedrock with a simple command. Smaller, bigger, faster, higher jumps, and a camera that follows — plus a scripting API so other addons can build on top of it.
> Independent project inspired by the Pehkui mod by Virtuoel. Not affiliated with or endorsed by Pehkui, Virtuoel, Mojang or Microsoft.
## Features
- **Resize anything:** players and 95 vanilla mobs, from 0.1x to 20x.
- **Size-based speed and jump:** bigger entities move faster and jump higher (can be turned off per entity).
- **Adjusted camera:** the first-person camera follows your new eye height, with third-person (back / front) views and a Camera Tool item to switch between them.
- **Size-based reach:** block breaking uses a reach that follows your size, so you break what you are actually looking at.
- **Scripting API:** other addons can read and change sizes through script events and tags (docs bundled inside the addon, in the `api/` folder).
- **Languages:** English and Portuguese (pt_BR).
-** Compatibility** For compatibility with other addons go to https://claude.ai/artifact/9QRscDvqcXdoK4rr2wbxx7
## Installation
1. Import `Entity_Scaler_vX.Y.Z.mcaddon` into Minecraft.
2. Create or edit a world and activate **both** packs: the Behavior pack and the Resource pack.
3. Requires Minecraft Bedrock **1.26.60 or newer**.
4. Only activate **one version** of Entity Scaler per world.
## Commands
You need game director / operator permission. Targets are normal selectors (`@s`, `@a`, `@e[type=cow]`, ...).
| Command | Description |
|---|---|
| `/scaler:scale <targets> <value>` | Sets the size (0.1 to 20, 1 = normal). Values are rounded to the nearest available step. |
| `/scaler:scale_reset <targets>` | Back to normal size. |
| `/scaler:scale_get <targets>` | Shows the current size and whether scaled speed / jump are on. |
| `/scaler:scale_speed <targets> <true\|false>` | Turns size-based speed on or off (default: on). |
| `/scaler:scale_jump <targets> <true\|false>` | Turns size-based jump on or off (default: on). |
| `/scaler:scale_reach <players> <true\|false>` | Turns size-based block-break reach on or off (default: on). |
| `/scaler:scale_view <players> <first\|back\|front\|normal>` | Changes the camera perspective. |
Examples:
```
/scaler:scale @s 0.5
/scaler:scale @e[type=zombie,r=20] 3
/scaler:scale_reset @a
```
## Camera Tool
Get it with `/give @s scaler:camera_tool`, or craft it by combining a spyglass and an ender pearl.
- **Use:** next perspective — first person (adjusted), third person (back), third person (front), normal camera.
- **Sneak + use:** normal camera (F5 works again).
## Available sizes
`0.1` to `3.0` in steps of `0.1`, then `3.5, 4, 5, 6, 7, 8, 9, 10, 12, 15, 20`.
## For addon developers
Entity Scaler has a scripting API based on script events and entity tags. Your pack does not need to depend on Entity Scaler. The docs (`API.md`), the helper library (`scaler-api.js`) and a working example (`example_main.js`) are bundled inside the addon: rename the `.mcaddon` file to `.zip`, open the Behavior pack folder and look in the `api/` folder.
```js
import { setScale, getScale, resetScale } from "./scaler-api.js";
setScale(player, 0.5);
console.warn(getScale(player)); // 0.5
resetScale(player);
```
## Known limitations
- Bedrock does not scale the player's real eye height or interaction reach, so these are emulated by script:
- The adjusted camera is updated by the server every tick, so it can look a little less smooth with high ping. While it is active, F5 does not switch perspectives (use the Camera Tool or `/scaler:scale_view`).
- Only **breaking** blocks is redirected to the scaled reach. Placing blocks and hitting mobs still use the game's default targeting. For precise building, use `/scaler:scale_view @s normal`.
- Redirected blocks break instantly and drop like a plain break (no Silk Touch / Fortune, no tool durability).
- Size-based speed works on the player and most mobs (not zombies, husks, endermen, piglins, hoglins, slimes, horses and a few others).
- Mobs from other addons are not supported.
- Entity Scaler overrides vanilla entity files. It can conflict with other addons that modify the same mobs.
## Credits
- Inspired by **Pehkui** by Virtuoel.
- Minecraft is a trademark of
- Mojang AB / Microsoft. This project is not affiliated with Mojang or Microsoft.