- Status
- Offline
- Joined
- Jul 18, 2023
- Messages
- 707
- Reaction score
- 3
Step into the world of unlimited possibilities of Minecraft with our free collection of sources "FpsBooster" Each source code from the section "Cheat Sources for Minecraft" has been thoroughly tested to ensure its operability and safety.
Java:
package miyagi.module.impl.Util;
import miyagi.event.EventTarget;
import miyagi.event.events.impl.player.EventUpdate;
import miyagi.module.Module;
import miyagi.module.ModuleCategory;
import miyagi.utils.otherutils.gayutil.EventLight;
import miyagi.ui.settings.impl.BooleanSetting;
import net.minecraft.world.EnumSkyBlock;
public class FpsBooster extends Module {
public static BooleanSetting entity;
public FpsBooster() {
super("FpsBooster", "", ModuleCategory.Util);
entity = new BooleanSetting("Оптимизирует клиент", false, () -> true);
addSettings(entity);
}
public BooleanSetting light = new BooleanSetting("Свет", true);
public BooleanSetting entities = new BooleanSetting("Энтити", true);
@EventTarget
public void onWorldLight(EventLight event) {
if (light.getCurrentValue()) {
if (event.getEnumSkyBlock() == EnumSkyBlock.SKY) {
event.cancel();
}
if (event.getEnumSkyBlock() == EnumSkyBlock.BLOCK) {
event.cancel();
}
}
}
@EventTarget
public void onUpdate(EventUpdate e) {
}
}