I'm trying to make a mod with Fabric but it keeps messing up for a reason I can't understand
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
ANYWAYS! I finaly found the way to install java. Well. I guess we can close this topic now.
-
FOUND IT!!! debug.log
-
Thank you for that. I it also got me to re-examine a bit of 'my code' again, and I was able to cleanly insert it properly this time and actually UNDERSTAND what was doing what. Unsure if I should list the updated code I got from it, but in short effect I got the BLOCK & ITEM override sitting next to my actual ones, and it being called as intended. -- genuinely wish there was a better way to inject behavior into a block that was able to interact with tick void w/o having to recreate/override the block. while I did what I could to minimize any conflicts possible... I feel this can cause unexpected behavior if another mod recreates the same block(s) -my case, sand, red_sand, gravel ... for the gravity behavior.
-
By SmokingDude · Posted
Yes i have a class called '' KeybindListener '' And inside I have this method : @SubscribeEvent public void onKeyPress(InputEvent.KeyInputEvent event) { if(Keyboard.isKeyDown(Keyboard.KEY_R)) if(irc==null) { irc = new IRCClient(); } showgui(); } I do register this class with MinecraftForge.EVENT_BUS.register(new KeybindListener()) ;
-
Topics
-
Who's Online (See full list)
Recommended Posts