Class AstralGamerules

java.lang.Object
dev.jaxydog.astral.register.ContentRegistrar
dev.jaxydog.astral.content.AstralGamerules
All Implemented Interfaces:
Registered, Registered.All, Registered.Client, Registered.Common, Registered.Generated, Registered.Server

public final class AstralGamerules extends ContentRegistrar
Contains definitions of all modded-in gamerules.
Since:
2.0.0
  • Field Details

    • CHALLENGE_ENABLED

      public static final net.minecraft.world.GameRules.Key<net.minecraft.world.GameRules.BooleanRule> CHALLENGE_ENABLED
      The gamerule that toggles challenge scaling on or off.
      Since:
      2.0.0
    • CHALLENGE_CHUNK_STEP

      public static final net.minecraft.world.GameRules.Key<net.minecraft.world.GameRules.IntRule> CHALLENGE_CHUNK_STEP
      The gamerule that configures the challenge scaling chunk step size.
      Since:
      2.0.0
    • CHALLENGE_ATTACK_ADDITIVE

      public static final net.minecraft.world.GameRules.Key<net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule> CHALLENGE_ATTACK_ADDITIVE
      The gamerule that configures the amount of attack points that are added for each chunk step.
      Since:
      2.0.0
    • CHALLENGE_HEALTH_ADDITIVE

      public static final net.minecraft.world.GameRules.Key<net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule> CHALLENGE_HEALTH_ADDITIVE
      The gamerule that configures the amount of health points that are added for each chunk step.
      Since:
      2.0.0
    • CHALLENGE_USE_WORLDSPAWN

      public static final net.minecraft.world.GameRules.Key<net.minecraft.world.GameRules.BooleanRule> CHALLENGE_USE_WORLDSPAWN
      The gamerule that determines whether challenge scaling uses the world's spawn or 0, 0.
      Since:
      2.0.0
    • CURRENCY_REWARD_CHANCE

      public static final net.minecraft.world.GameRules.Key<net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule> CURRENCY_REWARD_CHANCE
      The gamerule that configures the chance of receiving a reward from currency conversions.
      Since:
      2.0.0
  • Constructor Details

    • AstralGamerules

      public AstralGamerules()