Mialyansa
Level 88
What's your Minecraft Username?: Hymol_13
What's the title of your suggestion?: Height wihout mods
What's your suggestion?:
During the recent 1.20.5 snapshots, the generic.scale attribute was added. With this new attribute one can edit through commands the scale of entity models.
Adding a command to let the player customize their height is possible now.
But implementing this command in a raw mode can be BAD, that is because we might find some new players who have the good idea of setting their height to 10^100 and we dont want that. Given that character heights in SRP are reestricted to a range between 122 cm and 195 cm and that one block in minecraft is one meter irl, we can reestrict the values of the new command between 1.22 blocks and 1.95 blocks.
So with this in mind we can imagine how the command is going to look.
With the argument being in meters/minecraft blocks and reestricting it between 1.22 and 1.95. (We are using meters because imperial sistem uses foot and only weird people like feets).
/setheight <argument>
Notes:
-Sadly this feature can only be added once the server updates to the 1.20.
-This feature is meant to be implemented in the distant future, as SRP needs to update the plugins and that takes time. (Believe me I know that is loads of work :'] ).
-There could be future updates in this command to add an specific version for animal whitelisted players.
Warning math This section aims to make clear some aspects of the command and code. You can skip this if you are not interseted in the inner workings of the command.
Fixes:
-If a player plays in a lower version of 1.20.5 they just wont see the effects of the command, this already happens with some 1.18 features like the dripleaf or the dripstone.
-Any character whose height surpasses 2 m has its gameplay height set to 1.99 blocks. Making them bigger would prevent them from going through 2x1 doors and that wouod be detrimental for the gameplay. Although it is not reflected in the game, ICly and canonically the character is their authorised height. Lets put an example. If BOBO is 2.1 meters tall, BOBO hitbox is 1.99 meters tall. But if you ask a character how tall is BOBO they will tell you "BOBO is 2.1 meters tall". This is the same thing as we do know but now it would only happen to those with extreme heights.
How will this benefit the server and community?:
This feature intends better the players inmersion into roleplay.
Uncountable are the times this has been suggested to be implemented, be it through mods or clients. Most of those times the suggestion has been denied because the SRP doesnt want to have official mods.
What's the title of your suggestion?: Height wihout mods
What's your suggestion?:
During the recent 1.20.5 snapshots, the generic.scale attribute was added. With this new attribute one can edit through commands the scale of entity models.
Adding a command to let the player customize their height is possible now.
But implementing this command in a raw mode can be BAD, that is because we might find some new players who have the good idea of setting their height to 10^100 and we dont want that. Given that character heights in SRP are reestricted to a range between 122 cm and 195 cm and that one block in minecraft is one meter irl, we can reestrict the values of the new command between 1.22 blocks and 1.95 blocks.
So with this in mind we can imagine how the command is going to look.
With the argument being in meters/minecraft blocks and reestricting it between 1.22 and 1.95. (We are using meters because imperial sistem uses foot and only weird people like feets).
/setheight <argument>
Notes:
-Sadly this feature can only be added once the server updates to the 1.20.
-This feature is meant to be implemented in the distant future, as SRP needs to update the plugins and that takes time. (Believe me I know that is loads of work :'] ).
-There could be future updates in this command to add an specific version for animal whitelisted players.
Warning math This section aims to make clear some aspects of the command and code. You can skip this if you are not interseted in the inner workings of the command.
[The generic scale attribute doesnt go by blocks but by entities scales. This means that if you insert 2 in the attribute, it will maje you 2 times bigger than the default scale. So if we want to translate meters to scales we need this function.
H is the characters height expressed in meters. X is the number we put into the attribute command to make our character height H meters tall.
So if I put I type [/setheight 1.9] (1.9) goes into our little formula as h and we get (1.05). That is the number we send to the [generic.scale]. Now the command that follows is [/attribute IGN minecraft:generic.scale base set (1.05)]
I hope this explanation works.
H is the characters height expressed in meters. X is the number we put into the attribute command to make our character height H meters tall.
So if I put I type [/setheight 1.9] (1.9) goes into our little formula as h and we get (1.05). That is the number we send to the [generic.scale]. Now the command that follows is [/attribute IGN minecraft:generic.scale base set (1.05)]
I hope this explanation works.
Fixes:
-If a player plays in a lower version of 1.20.5 they just wont see the effects of the command, this already happens with some 1.18 features like the dripleaf or the dripstone.
-Any character whose height surpasses 2 m has its gameplay height set to 1.99 blocks. Making them bigger would prevent them from going through 2x1 doors and that wouod be detrimental for the gameplay. Although it is not reflected in the game, ICly and canonically the character is their authorised height. Lets put an example. If BOBO is 2.1 meters tall, BOBO hitbox is 1.99 meters tall. But if you ask a character how tall is BOBO they will tell you "BOBO is 2.1 meters tall". This is the same thing as we do know but now it would only happen to those with extreme heights.
How will this benefit the server and community?:
This feature intends better the players inmersion into roleplay.
Uncountable are the times this has been suggested to be implemented, be it through mods or clients. Most of those times the suggestion has been denied because the SRP doesnt want to have official mods.
Last edited: