- Status
- Offline
- Joined
- Jul 18, 2023
- Messages
- 707
- Reaction score
- 3
Unleash your wildest imagination and expand your Minecraft horizons like never before with our meticulously curated selection of extraordinary resources. These handpicked treasures are specifically designed to elevate your gameplay and bring about unimaginable possibilities. Whether you're a passionate builder, an intrepid explorer, or a daring adventurer, our diverse collection of sources holds something uniquely special for each and every one of you.
Immerse yourself in a realm of endless creativity as you discover cutting-edge mods, awe-inspiring texture packs, and captivating adventure maps that will breathe new life into your Minecraft world. Build majestic cities that touch the sky, craft intricate and breathtaking landscapes, or embark on daring quests that will test your skills and courage. The possibilities are limitless, and the only boundaries are those of your own imagination
Immerse yourself in a realm of endless creativity as you discover cutting-edge mods, awe-inspiring texture packs, and captivating adventure maps that will breathe new life into your Minecraft world. Build majestic cities that touch the sky, craft intricate and breathtaking landscapes, or embark on daring quests that will test your skills and courage. The possibilities are limitless, and the only boundaries are those of your own imagination
Ambience Forge gumballoffrecode 1.9:
JavaScript:
package me.gumballoff.gumballoff.module.modules;
import me.gumballoff.gumballoff.clickgui.setting.settings.ModeSetting;
import me.gumballoff.gumballoff.clickgui.setting.settings.NumberSetting;
import me.gumballoff.gumballoff.event.events.PacketEvent;
import me.gumballoff.gumballoff.module.Module;
import me.gumballoff.gumballoff.module.ModuleInfo;
import net.minecraft.network.play.server.SPacketTimeUpdate;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import org.lwjgl.input.Keyboard;
import static me.gumballoff.gumballoff.GUMBALLOFF.mc;
@ModuleInfo(name = "Ambience", key = Keyboard.KEY_NONE, category = Module.Category.Visual, description = "")
public class Ambience extends Module {
ModeSetting mode = new ModeSetting("Mode", this, "Day", "Day", "Night", "Morning", "Sunset", "Spin");
NumberSetting time = new NumberSetting("SpinSpeed", this, 1, 0.3, 10, 1);
private long spin = 0;
public Ambience() {
addSettings(mode, time);
}
@SubscribeEvent
public void onReceivePacket(PacketEvent.PacketReceiveEvent event) {
if (event.getPacket() instanceof SPacketTimeUpdate) {
event.setCanceled(true);
}
}
@SubscribeEvent
public void onUpdate(TickEvent.ClientTickEvent event) {
if (mc.player != null && mc.world != null) {
if (mode.getModeValue().equals("Spin")) {
mc.world.setWorldTime(spin);
this.spin = (long) (spin + time.getNumberValue() * 100);
} else if (mode.getModeValue().equals("Day")) {
mc.world.setWorldTime(5000);
} else if (mode.getModeValue().equals("Night")) {
mc.world.setWorldTime(17000);
} else if (mode.getModeValue().equals("Morning")) {
mc.world.setWorldTime(0);
} else if (mode.getModeValue().equals("Sunset")) {
mc.world.setWorldTime(13000);
}
}
}
}