Class ThermooGameRulesImpl

java.lang.Object
com.github.thedeathlycow.thermoo.impl.fabric.platform.ThermooGameRulesImpl
All Implemented Interfaces:
com.github.thedeathlycow.thermoo.impl.platform.ThermooGameRules

public class ThermooGameRulesImpl extends Object implements com.github.thedeathlycow.thermoo.impl.platform.ThermooGameRules
  • Constructor Details

    • ThermooGameRulesImpl

      public ThermooGameRulesImpl()
  • Method Details

    • forBoolean

      public net.minecraft.world.level.gamerules.GameRule<Boolean> forBoolean(net.minecraft.resources.Identifier id, boolean defaultValue)
      Specified by:
      forBoolean in interface com.github.thedeathlycow.thermoo.impl.platform.ThermooGameRules
    • forEnum

      public <E extends Enum<E>> net.minecraft.world.level.gamerules.GameRule<E> forEnum(net.minecraft.resources.Identifier id, E defaultValue, com.mojang.serialization.Codec<E> codec)
      Specified by:
      forEnum in interface com.github.thedeathlycow.thermoo.impl.platform.ThermooGameRules