Class ThermooGameRulesImpl
java.lang.Object
com.github.thedeathlycow.thermoo.impl.neoforge.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.gamerules.GameRule<Boolean> forBoolean(net.minecraft.resources.Identifier id, boolean defaultValue) <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)
-
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:
forBooleanin interfacecom.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:
forEnumin interfacecom.github.thedeathlycow.thermoo.impl.platform.ThermooGameRules
-