more stuff #1

Merged
YeahAkis merged 17 commits from YeahAkis/tweaks:main into main 2025-12-03 20:11:54 +01:00
Showing only changes of commit 88620d9d24 - Show all commits

View File

@@ -7,9 +7,9 @@ import net.minecraft.world.GameRules;
public class Tweaks implements ModInitializer { public class Tweaks implements ModInitializer {
public static final GameRules.Key<GameRules.IntRule> ENTITY_PORTAL_COOLDOWN = public static final GameRules.Key<GameRules.IntRule> ENTITY_PORTAL_COOLDOWN =
GameRuleRegistry.register("entityPortalCooldown", GameRules.Category.MOBS, GameRuleFactory.createIntRule(300)); GameRuleRegistry.register("entityPortalCooldown", GameRules.Category.MOBS, GameRuleFactory.createIntRule(300, 0, Integer.MAX_VALUE));
public static final GameRules.Key<GameRules.IntRule> ENDER_PEARL_DAMAGE = public static final GameRules.Key<GameRules.IntRule> ENDER_PEARL_DAMAGE =
GameRuleRegistry.register("enderPearlDamage", GameRules.Category.PLAYER, GameRuleFactory.createIntRule(5)); GameRuleRegistry.register("enderPearlDamage", GameRules.Category.PLAYER, GameRuleFactory.createIntRule(5, 0, Integer.MAX_VALUE));
@Override @Override
public void onInitialize() { public void onInitialize() {
} }