Class FWGameRules

java.lang.Object
nokunami.floral_warfare.common.registries.FWGameRules

public class FWGameRules extends Object
  • 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)