}
return result;
}
-}
\ No newline at end of file
+}
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.util.math.AxisAlignedBB;
-import net.minecraft.util.math.BlockPos;
import org.lwjgl.opengl.GL11;
import java.awt.*;
-import java.util.HashSet;
-import java.util.Set;
public abstract class Renderer<T extends BoundingBox> {
public abstract void render(T boundingBox);
double y = PlayerData.getMaxY(ConfigManager.worldSpawnMaxY.get()) + 0.001F;
renderRectangle(aaBB, y, y, color, false);
}
-}
\ No newline at end of file
+}
package com.irtimaled.bbor.install;
import javax.swing.*;
-import java.io.*;
+import java.io.File;
+import java.io.PrintWriter;
+import java.io.StringWriter;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardCopyOption;
import java.text.SimpleDateFormat;
-import java.util.*;
+import java.util.Date;
+import java.util.Locale;
public class Main {
public static void main(String... args) throws Throwable {
package com.irtimaled.bbor.mixin.client;
-import com.irtimaled.bbor.common.EventBus;
import com.irtimaled.bbor.client.ClientProxy;
import com.irtimaled.bbor.client.events.KeyPressed;
+import com.irtimaled.bbor.common.EventBus;
import com.irtimaled.bbor.config.ConfigManager;
import net.minecraft.client.Minecraft;
import org.spongepowered.asm.mixin.Mixin;
public void processKeyBinds(CallbackInfo ci) {
EventBus.publish(new KeyPressed());
}
-}
\ No newline at end of file
+}
package com.irtimaled.bbor.mixin.client.multiplayer;
-import com.irtimaled.bbor.common.EventBus;
import com.irtimaled.bbor.client.events.DisconnectedFromRemoteServer;
+import com.irtimaled.bbor.common.EventBus;
import net.minecraft.client.multiplayer.WorldClient;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
package com.irtimaled.bbor.mixin.client.renderer;
-import com.irtimaled.bbor.common.EventBus;
import com.irtimaled.bbor.client.events.Render;
+import com.irtimaled.bbor.common.EventBus;
import net.minecraft.client.renderer.EntityRenderer;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
private void init(Minecraft minecraft, File file, CallbackInfo ci) {
keyBindings = getKeysAll();
}
-}
\ No newline at end of file
+}
static {
CATEGORY_ORDER.put(ClientProxy.KeyCategory, 0);
}
-}
\ No newline at end of file
+}
ConfigManager.loadConfig(gameDir);
new CommonProxy().init();
}
-}
\ No newline at end of file
+}
private void onLoad(CallbackInfo ci) {
EventBus.publish(new ChunkLoaded((Chunk) (Object) this));
}
-}
\ No newline at end of file
+}