ValMobile / RealisticSurvival

Realistic Survival - A unique Spigot/Paper plugin inspired by RLCraft that aims to enhance pure survival, adventuring and RPG, and immersion of vanilla Minecraft.
GNU General Public License v3.0
29 stars 9 forks source link

Request to add thirst and temperature values โ€‹โ€‹to the numerical API #41

Open JTYX8X opened 1 month ago

JTYX8X commented 1 month ago

โ— Checklist

๐Ÿ“ What problem do you want to solve?

Add an API to call the numerical values for thirst and temperature. Adding this feature would make it more convenient for Bedrock players to enjoy servers loaded with the RSV plugin in cross-play environments. During testing, it was found that Bedrock Minecraft players can seamlessly enjoy the features brought by the RSV plugin with a simple resource pack conversion. However, one drawback is that Bedrock players have issues displaying thirst and temperature values. They cannot see how much thirst and temperature they have left. Therefore, I hope an API can be added to call these numerical values, allowing them to see their remaining thirst and temperature values through the sidebar.

๐Ÿ’ก What would you change, add, or modify to solve the problem?

Only an API to call the temperature and thirst values needs to be added. If a toggle to freely switch the original thirst and temperature display on and off could be added, or if the plugin could automatically disable the original thirst and temperature display for Bedrock players detected through the Floodgate plugin, allowing the TAB bar plugin to display these values numerically, that would be even better.

๐ŸŒ How do you see your suggestion benefiting the majority of servers?

Adding this feature would make it more convenient for Bedrock players to enjoy servers loaded with the RSV plugin in cross-play environments. During testing, it was found that Bedrock Minecraft players can seamlessly enjoy the features brought by the RSV plugin with a simple resource pack conversion. However, one drawback is that Bedrock players have issues displaying thirst and temperature values. They cannot see how much thirst and temperature they have left. Therefore, I hope an API can be added to call these numerical values, allowing them to see their remaining thirst and temperature values through the sidebar. This way, more Minecraft Bedrock players will be able to enjoy this plugin. Therefore, I sincerely hope the developer can implement this feature.

โš™ How might you implement your solution in code?

No response

๐ŸŽฎ Module

Other (Please specify in your description)

๐Ÿ“ท Screenshots / Videos

No response

๐Ÿงญ Plugin Dependencies

PlaceholderAPI,Floodgate

๐Ÿ’ฐ Donations and Partnerships

โœจ Additional Comments

Hello, I am a user of the RSV plugin. During testing, I accidentally discovered that the RSV plugin can be perfectly adapted to the Bedrock version of Minecraft with just a simple resource pack conversion.

However, the only drawback is that the Bedrock version cannot correctly display the temperature and thirst bars. I tried various methods but could not get them to display above the inventory.

Therefore, I would like to ask if the developer could add an API to display the temperature and thirst values as numerical values. This way, with the TAB bar plugin, Bedrock players can see their thirst and temperature values in the sidebar.

Additionally, I hope the developer could add a toggle for the temperature and thirst bars to adapt to displaying these values numerically. It would be even better if it could automatically adjust by detecting whether it is the Bedrock version.