[1.15.2] Applying random textures to the block model
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
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()) ; -
Is thre anything i can do with twitch launcher (basicaly the same thing i figured out)
-
Fixed the issue by referring to the ResourceLocation instead of Item. Like so: public class Blueprint extends Item { public List<Resource> resources; public ResourceLocation outputItem; public Blueprint(Properties properties, List<Resource> resources, ResourceLocation outputItem) { super(properties); this.resources = resources; this.outputItem = outputItem; } public static class Resource { public final ResourceLocation resourceLocation; public final int amount; public Resource(ResourceLocation resourceLocation, int amount) { this.resourceLocation = resourceLocation; this.amount = amount; } } }
-
By Mr_Magic003 · Posted
hey there! I'm currently trying to download forge 1.16.5 and it gives me options for how to upload the file, suggesting I don't have the right software for it. I've tried Adobe Acrobat DC and have tried to download java with no luck (I already have it but it doesn't show on my computer. Got any ideas?
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.