Minecraft Data Packs / Other

Resizable v1.0.0 (1.20.5 SNAPSHOT Datapack)

  • check_circle Functions
  • 1,374 views, 14 today
  • 115 downloads, 1 today
  • 5
  • 4
  • 5
ArwenOC's Avatar ArwenOC
Level 51 : Grandmaster Programmer
81
Resizable v1.0.0 - 1.20.5 Snapshot Datapack

Resizable is a simple utility datapack that utilizes the new attributes in Minecraft 1.20.5 snapshot 23w51b that allow the user to rescale players and entities. This datapack allows the user to rescale all players or entities either randomly (random value for each player / entity), or globally (constant value for all players / entities).


The datapack creates an environment in which the scale of all mobs and players in the world can be changed at any time using functions. Players that join, and entities that spawn after the scale is set will change their scale to match the settings that you set for entity scale. Player reach, step height, and entity reach are automatically calculated and scaled based on the player size. For convenience, player reach will never drop below 1.1 blocks.

By default, entity and player scale are set to 100% (Their normal size), and these settings will apply to all entities and players. The commands provided will allow you to change these settings. If you wish to view the following list in-game, you can run the command: /function mcr:help

Commands List:


/function mcr:global_player_scale {scale:<% size>}
/function mcr:global_entity_scale {scale:<% size>}
Sets globally enforced player / entity sizes. (Ex: /function mcr:global_entity_scale {scale:200} sets all current / new entities scale to be set to 200% size)

/function mcr:random_player_scale {min:<% size>,max:<% size>}
/function mcr:random_entity_scale {min:<% size>,max:<% size>}
Sets randomly enforced player / entity sizes with minimum and maximum scales. (Ex: /function mcr:random_player_scale {min:50,max:200} sets all current / new players sizes between 50% and 200% size at random)

/function mcr:toggle_player_mode
/function mcr:toggle_entity_mode
Toggles whether player / entity sizes are determined by random or global values (Changes between the values you set using global scales, and the values you set using random scales)

/function mcr:view_settings
Shows the current settings of the datapack (Whether players / entities are in global / random scale mode, as well as the scale percentages that were set by the player.


CreditMinecrafter10081 for the pictures lol.
CompatibilityMinecraft 1.20
Tags

Create an account or sign in to comment.

2
12/19/2023 9:47 pm
Level 51 : Grandmaster Programmer
ArwenOC
ArwenOC's Avatar
This datapack is created for Minecraft 1.20.5 snapshot 23w51b only
1
12/19/2023 11:45 pm
Level 39 : Artisan Miner
notnew12345
notnew12345's Avatar
What if you can fit in places that normal players wouldnt go?
2
12/20/2023 4:09 am
Level 51 : Grandmaster Programmer
ArwenOC
ArwenOC's Avatar
Not sure what you mean by this but isn't that sort of part of the deal of shrinking the player?
1
01/04/2024 12:18 pm
Level 39 : Artisan Miner
notnew12345
notnew12345's Avatar
Like /trigger mcr_help or /trigger mcr_settings but its an idea. :)
1
01/04/2024 12:16 pm
Level 39 : Artisan Miner
notnew12345
notnew12345's Avatar
What if the datapack has /trigger scale setting instead of /function cause if players want to change it in survival mode the only command they can change size is /trigger?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome