Skip to content

Commit

Permalink
Merge pull request #98 from Tallis-Larsen/main
Browse files Browse the repository at this point in the history
A few changes - Not urgent
  • Loading branch information
FrederoxDev authored Jun 22, 2024
2 parents 704533f + 3f1bcf5 commit dd9d787
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<GameRule> gamerules;
/* this + 24 */ std::vector<GameRule> 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();
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<br />

### - [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.

<br />

### 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.
Expand Down

0 comments on commit dd9d787

Please sign in to comment.