Angelica Thread Safety

This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2024-02-20 08:25:02 -08:00
1 parent e9e63d6fc5
commit 06ec360694
15 files changed
+82 -38

No files matched your search

@@ -16,14 +16,18 @@ import net.minecraft.init.Blocks;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.client.MinecraftForgeClient;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import team.chisel.block.BlockMultiLayerBase;
import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererMultiLayer implements ISimpleBlockRenderingHandler {
float bot = -0.001f, top = 1.0f - bot;
final static float bot = -0.001f;
final static float top = 1.0f - bot;
public static int id;
public RendererMultiLayer() {