Fabric API

Fabric API

108M Downloads

GameRule API: Allow for re-categorisation of existing gamerules

DragonEggBedrockBreaking opened this issue ยท 1 comments

commented

Simply put, one should be able to create a custom gamerule category, then move existing vanilla gamerules into that category. E.g. One can create a DAMAGE category and move GameRules.FREEZE_DAMAGE into the new DAMAGE category.

commented

This is another one of those changes that requires modification of enum constants.
The game rule categories are an enum.
See:
FabricMC/fabric-loom#305
SpongePowered/Mixin#387