rename
This commit is contained in:
parent
2215f170df
commit
866408aece
@ -483,7 +483,7 @@ public class ExampleBaritoneControl extends Behavior implements Helper {
|
|||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
try {
|
try {
|
||||||
Thread.sleep(100);
|
Thread.sleep(100);
|
||||||
mc.addScheduledTask(() -> mc.displayGuiScreen(new GuiClickMeme()));
|
mc.addScheduledTask(() -> mc.displayGuiScreen(new GuiClick()));
|
||||||
} catch (Exception ignored) {}
|
} catch (Exception ignored) {}
|
||||||
}).start();
|
}).start();
|
||||||
logDirect("aight dude");
|
logDirect("aight dude");
|
||||||
|
@ -40,7 +40,7 @@ import java.util.Collections;
|
|||||||
|
|
||||||
import static org.lwjgl.opengl.GL11.*;
|
import static org.lwjgl.opengl.GL11.*;
|
||||||
|
|
||||||
public class GuiClickMeme extends GuiScreen {
|
public class GuiClick extends GuiScreen {
|
||||||
|
|
||||||
// My name is Brady and I grant leijurv permission to use this pasted code
|
// My name is Brady and I grant leijurv permission to use this pasted code
|
||||||
private final FloatBuffer MODELVIEW = BufferUtils.createFloatBuffer(16);
|
private final FloatBuffer MODELVIEW = BufferUtils.createFloatBuffer(16);
|
@ -59,8 +59,8 @@ public final class PathRenderer implements Helper {
|
|||||||
public static void render(RenderEvent event, PathingBehavior behavior) {
|
public static void render(RenderEvent event, PathingBehavior behavior) {
|
||||||
float partialTicks = event.getPartialTicks();
|
float partialTicks = event.getPartialTicks();
|
||||||
Goal goal = behavior.getGoal();
|
Goal goal = behavior.getGoal();
|
||||||
if (mc.currentScreen instanceof GuiClickMeme) {
|
if (mc.currentScreen instanceof GuiClick) {
|
||||||
((GuiClickMeme) mc.currentScreen).onRender(partialTicks);
|
((GuiClick) mc.currentScreen).onRender(partialTicks);
|
||||||
}
|
}
|
||||||
|
|
||||||
int thisPlayerDimension = behavior.baritone.getPlayerContext().world().provider.getDimensionType().getId();
|
int thisPlayerDimension = behavior.baritone.getPlayerContext().world().provider.getDimensionType().getId();
|
||||||
|
Loading…
Reference in New Issue
Block a user