Class FWGameRules
java.lang.Object
nokunami.floral_warfare.common.registries.FWGameRules
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.minecraft.world.level.GameRules.Key<net.minecraft.world.level.GameRules.BooleanValue>static net.minecraft.world.level.GameRules.Key<net.minecraft.world.level.GameRules.BooleanValue> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandisableGardenRaids(net.minecraft.world.level.Level level) static booleandisableSeedPacketCooldown(net.minecraft.world.level.Level level) static voidinit()
-
Field Details
-
RULE_DISABLE_GARDEN_RAIDS
public static net.minecraft.world.level.GameRules.Key<net.minecraft.world.level.GameRules.BooleanValue> RULE_DISABLE_GARDEN_RAIDS -
RULE_SEED_PACKET_COOLDOWN
public static net.minecraft.world.level.GameRules.Key<net.minecraft.world.level.GameRules.BooleanValue> RULE_SEED_PACKET_COOLDOWN
-
-
Constructor Details
-
FWGameRules
public FWGameRules()
-
-
Method Details
-
init
public static void init() -
disableGardenRaids
public static boolean disableGardenRaids(net.minecraft.world.level.Level level) -
disableSeedPacketCooldown
public static boolean disableSeedPacketCooldown(net.minecraft.world.level.Level level)
-