diff --git a/AmethystAPI/src/minecraft/src/common/world/level/storage/GameRules.hpp b/AmethystAPI/src/minecraft/src/common/world/level/storage/GameRules.hpp index 070d2147..96c07fc9 100644 --- a/AmethystAPI/src/minecraft/src/common/world/level/storage/GameRules.hpp +++ b/AmethystAPI/src/minecraft/src/common/world/level/storage/GameRules.hpp @@ -4,16 +4,16 @@ class GameRule { public: /* this + 0 */ std::byte padding0[8]; - /* this + 8 */ std::string name; + /* this + 8 */ std::string mName; /* this + 40 */ std::byte padding40[3]; - /* this + 43 */ bool requiresCheats; + /* this + 43 */ bool mRequiresCheats; /* this + 44 */ std::byte padding44[132]; }; class GameRules { public: /* this + 0 */ std::byte padding0[24]; - /* this + 24 */ std::vector gamerules; + /* this + 24 */ std::vector mGamerules; // 1.21.0.3 - 48 89 5C 24 ? 48 89 74 24 ? 48 89 7C 24 ? 55 48 8D AC 24 ? ? ? ? 48 81 EC ? ? ? ? 48 8B F9 48 83 C1 void _registerRules(); diff --git a/README.md b/README.md index 6d8daff4..a31519bd 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,17 @@ A small mod which adds in an "Optifine" like zoom into the game. A simple Minecraft Bedrock mod that increases the maximum build limit in all dimensions to 2048 blocks. +
+ +### - [CheatlessTweaks](https://github.com/Tallis-Larsen/CheatlessTweaks) + +| ![image](https://github.com/FrederoxDev/Amethyst/assets/150056941/97400198-5860-48d3-acb7-642987ed992b) | ![image](https://github.com/FrederoxDev/Amethyst/assets/150056941/c5a01fb3-81f3-450a-bf8e-94ba294ce1dd) | +|----------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------| + +A simple Minecraft Bedrock mod that lets you change a few limited gamerules without enabling cheats/disabling achievements. + +
+ ### Using the API for other projects To link AmethystAPI with another mod, we use an environment variable `%amethyst_src%` to point to the cloned repository. Here is a quick list of commands to clone Amethyst into the Documents folder and setup the environment variable automatically.