- Status
- Offline
- Joined
- Jul 18, 2023
- Messages
- 707
- Reaction score
- 3
Whether you're a seasoned player or a complete novice just embarking on your adventure in the blocky world of Minecraft, fear not, because our carefully curated selection of mods and textures has something special in store for everyone. Prepare to witness the wonders of this pixelated universe like never before, as we take your gaming experience to new heights with our vast array of enhancements.
For the seasoned veterans, our powerful mods will open up a world of endless possibilities, adding depth and complexity to the game you know and love. Unleash your creativity and explore new gameplay mechanics, taking your skills to the next level as you conquer new challenges.
For the seasoned veterans, our powerful mods will open up a world of endless possibilities, adding depth and complexity to the game you know and love. Unleash your creativity and explore new gameplay mechanics, taking your skills to the next level as you conquer new challenges.
JumpCircles 1.16.5 Forge:
JavaScript:
package dev.client;
import com.mojang.blaze3d.matrix.MatrixStack;
import java.util.ArrayList;
import net.minecraft.client.entity.player.ClientPlayerEntity;
import net.minecraft.client.renderer.BufferBuilder;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.util.math.vector.Vector3d;
import net.minecraftforge.client.event.InputEvent;
import net.minecraftforge.client.event.RenderWorldLastEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import dev.client.Client;
import dev.client.module.Module;
import dev.client.module.Setting;
import dev.client.utils.ColorUtils;
import dev.client.utils.MathUtils;
import dev.client.utils.RenderUtils;
import dev.client.utils.TimerUtil;
public class JumpCircles
extends Module {
public boolean jumpflag;
public boolean key;
public ArrayList<Circle> circles = new ArrayList();
public JumpCircles() {
super("JumpCircles", 0, false, Module.Category.VISUAL);
this.settings.add(new Setting("Speed", 6.0f, 0.0f, 10.0f));
this.settings.add(new Setting("Steps", 6.0f, 1.0f, 20.0f));
this.settings.add(new Setting("Radius", 6.0f, 1.0f, 10.0f));
this.settings.add(new Setting("Time", 2.0f, 0.0f, 10.0f));
this.settings.add(new Setting("Size", 10.0f, 1.0f, 20.0f));
this.settings.add(new Setting("Sides", 90.0f, 0.0f, 90.0f));
}
@SubscribeEvent
public void onKey(InputEvent.KeyInputEvent e) {
assert (JumpCircles.mc.level != null);
ClientPlayerEntity t = JumpCircles.mc.player;
if (t == null || e.getKey() != Client.mc.options.keyJump.getKey().getValue()) {
return;
}
this.key = e.getAction() != 0;
}
@SubscribeEvent
public void onWorldRender(RenderWorldLastEvent e) {
assert (JumpCircles.mc.level != null);
ClientPlayerEntity t = JumpCircles.mc.player;
if (t == null) {
return;
MatrixStack ms = e.getMatrixStack();
float pt = e.getPartialTicks();
for (Circle cir : this.circles) {
int xz;
int color2;
int color;
int[] ccolors;
float i;
double x = cir.pos.x - Client.mc.getEntityRenderDispatcher().camera.getPosition().x;
double y = cir.pos.y - Client.mc.getEntityRenderDispatcher().camera.getPosition().y;
double z = cir.pos.z - Client.mc.getEntityRenderDispatcher().camera.getPosition().z;
Tessellator tessellator = Tessellator.getInstance();
RenderUtils.setupRender();
int speed = (int)(11.0f - this.getSetting((String)"speed").val);
double h = t.getBbHeight() - 0.1f;
float sp = System.currentTimeMillis() / (long)speed % 360L;
float rsp = (float)cir.timer.getMc() / (float)cir.time;
float size = this.getSetting((String)"Size").val / 50.0f;
double radius = rsp * this.getSetting((String)"Radius").val / 5.0f;
float step = MathUtils.clamp((int)(9.0f - this.getSetting((String)"Sides").val / 10.0f) * 10, 9.0f, 95.0f);
double vert = -radius / 100.0;
int begin = 8;
bufferbuilder.begin(begin, DefaultVertexFormats.POSITION_COLOR);
float zal = 135 * (int)this.getSetting((String)"steps").val;
c, 1);
apc = MathUtils.clamp(apc, 0.0f, 1.0f);
int a = (int)MathUtils.clamp(apc * 255.0f, 0.0f, 255.0f);
for (i = 0.0f; i <= 360.0f; i += step) {
ccolors = Client.getClientColors(-(i / 365.0f * zal + (float)(cir.index * 500)), a);
color = ccolors[0];
color2 = ColorUtils.swapAlpha(ccolors[0], 0.0f);
xz = (int)(i + sp);
bufferbuilder.vertex(ms.last().pose(), (float)(Math.cos((double)xz * Math.PI / 180.0) * radius), (float)vert, (float)(Math.sin((double)xz * Math.PI / 180.0) * radius)).color(ColorUtils.r(color), ColorUtils.g(color), ColorUtils.b(color), ColorUtils.a(color)).endVertex();
}
tessellator.end();
bufferbuilder.begin(begin, DefaultVertexFormats.POSITION_COLOR);
for (i = 0.0f; i <= 360.0f; i += step) {
ccolors = Client.getClientColors(-(i / 365.0f * zal + (float)(cir.index * 500)), a);
color = ccolors[0];
color2 = ColorUtils.swapAlpha(ccolors[0], 0.0f);
xz = (int)(i + sp);
bufferbuilder.vertex(ms.last().pose(), (float)(Math.cos((double)xz * Math.PI / 180.0) * radius), (float)vert, (float)(Math.sin((double)xz * Math.PI / 180.0) * radius)).color(ColorUtils.r(color), ColorUtils.g(color), ColorUtils.b(color), ColorUtils.a(color)).endVertex();
bufferbuilder.vertex(ms.last().pose(), (float)(Math.cos((double)xz * Math.PI / 180.0) * (radius + (double)size)), (float)vert, (float)(Math.sin((double)xz * Math.PI / 180.0) * (radius + (double)size))).color(ColorUtils.r(color2), ColorUtils.g(color2), ColorUtils.b(color2), ColorUtils.a(color2)).endVertex();
}
}
}
public class Circle {
public Vector3d pos;
public long time;
public TimerUtil timer;
public int index;
}