Package dev.jaxydog.astral.content
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
Contains definitions of all modded-in gamerules.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.jaxydog.astral.register.Registered
Registered.All, Registered.Client, Registered.Common, Registered.Generated, Registered.Server -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.GameRules.Key<net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule> The gamerule that configures the amount of attack points that are added for each chunk step.static final net.minecraft.world.GameRules.Key<net.minecraft.world.GameRules.IntRule> The gamerule that configures the challenge scaling chunk step size.static final net.minecraft.world.GameRules.Key<net.minecraft.world.GameRules.BooleanRule> The gamerule that toggles challenge scaling on or off.static final net.minecraft.world.GameRules.Key<net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule> The gamerule that configures the amount of health points that are added for each chunk step.static final net.minecraft.world.GameRules.Key<net.minecraft.world.GameRules.BooleanRule> The gamerule that determines whether challenge scaling uses the world's spawn or 0, 0.static final net.minecraft.world.GameRules.Key<net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule> The gamerule that configures the chance of receiving a reward from currency conversions. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.jaxydog.astral.register.ContentRegistrar
generate, getRegistryId, getRegistryPath, registerClient, registerCommon, registerServer
-
Field Details
-
CHALLENGE_ENABLED
public static final net.minecraft.world.GameRules.Key<net.minecraft.world.GameRules.BooleanRule> CHALLENGE_ENABLEDThe 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_STEPThe 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_ADDITIVEThe 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_ADDITIVEThe 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_WORLDSPAWNThe 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_CHANCEThe gamerule that configures the chance of receiving a reward from currency conversions.- Since:
- 2.0.0
-
-
Constructor Details
-
AstralGamerules
public AstralGamerules()
-