Eclipse Coding Help "alc_cleanup: 1 device not closed" (Will post Log)
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
There's a flag in the game that prevents it from checking for changed abilities every tick. I believe it's hurtMarked()? Try using that, to tell the game something has changed.
-
There's a mod version mismatch here. Fastbench wants a more recent version of Forge than you have. I suggest checking if there's a new version of the All The Mods 8 server package, or if not, asking the All The Mods Team, since this seems like a large flaw.
-
Optifine is broken. Delete it.
-
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
Help with 1.8.9 mod that copies messages when ctrl + right clicking on them I'm pretty new to Forge modding and been trying to figure out how to get the chat message that was ctrl + right clicked on then copy the message, but I have no clue, any help? I know I could just get a mod that already does this but I want to do this by myself this is all i have right now: package com.example.examplemod; import java.awt.Toolkit; import java.awt.datatransfer.StringSelection; import org.lwjgl.input.Keyboard; import org.lwjgl.input.Mouse; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiChat; import net.minecraft.init.Blocks; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.TickEvent; import java.awt.datatransfer.Clipboard; @Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION) public class ExampleMod { public static final String MODID = "examplemod"; public static final String VERSION = "1.0"; private static String copiedMessage = ""; @EventHandler public void init(FMLInitializationEvent event) { // some example code System.out.println("DIRT BLOCK >> " + Blocks.dirt.getUnlocalizedName()); MinecraftForge.EVENT_BUS.register(this); } @SubscribeEvent public void onClientTick(TickEvent.ClientTickEvent event) { Minecraft mc = Minecraft.getMinecraft(); if (Mouse.isButtonDown(1) && Keyboard.isKeyDown(Keyboard.KEY_LCONTROL) && mc.currentScreen instanceof GuiChat) { } } }
-
-
Topics
-
Who's Online (See full list)
Recommended Posts