From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: MrHua269 Date: Sun, 12 Jan 2025 10:24:51 +0800 Subject: [PATCH] Add config for vanilla random diff --git a/src/main/java/me/earthme/luminol/config/modules/fixes/VanillaRandomSourceConfig.java b/src/main/java/me/earthme/luminol/config/modules/fixes/VanillaRandomSourceConfig.java new file mode 100644 index 0000000000000000000000000000000000000000..0e6bfc03be660415c333024b56ac6565e3b61ab1 --- /dev/null +++ b/src/main/java/me/earthme/luminol/config/modules/fixes/VanillaRandomSourceConfig.java @@ -0,0 +1,20 @@ +package me.earthme.luminol.config.modules.fixes; + +import me.earthme.luminol.config.ConfigInfo; +import me.earthme.luminol.config.EnumConfigCategory; +import me.earthme.luminol.config.IConfigModule; + +public class VanillaRandomSourceConfig implements IConfigModule { + @ConfigInfo(baseName = "enable_for_player_entity",comments = "Related with RNG cracks") + public static boolean useLegacyRandomSourceForPlayers = false; + + @Override + public EnumConfigCategory getCategory() { + return EnumConfigCategory.FIXES; + } + + @Override + public String getBaseName() { + return "use_vanilla_random_source"; + } +}