Everything posted by Earthcomputer
-
[1.8] Trying to Remove Vanilla Recipes
Better to use Predicates here: public void removeRecipe(Predicate<IRecipe> shouldRemove) { Iterator iterator = CraftingManager.getInstance().getRecipeList().iterator(); while (iterator.hasNext()) if (shouldRemove.apply((IRecipe) iterator.next())) iterator.remove(); } Hope that helps
-
[1.8] Changing inner class with access transformer
K I'll do that hopefully I'll have my code up by tonight (GMT)
-
[1.8] Changing inner class with access transformer
I would, but I can't find any other way to override handleMouseInput. I'll post my code when I get to my computer
-
[1.8] Changing inner class with access transformer
I want to display more information about the worlds in the world list. I've come up with a workaround by extending GuiSelectWorld
-
[1.8] Changing inner class with access transformer
I cannot use reflection for this. I need to extend GuiSelectWorld.List, which is package-private
-
[1.8] Changing inner class with access transformer
How do I change the modifiers of an inner class, such as GuiSelectWorld.List, with an access transformer? Is it possible?
-
Gradle while offline?
I'm having the same problem with compiling my mod offline. I can compile it fine online. I'm no gradle expert, but I'm assuming it has something to do with some http URLs in the dependencies. I guess you can just download these files then use file:/// in your URLs instead? Edit: have you tried gradlew build --offline
-
[1.8] [Solved] Where to find deobfuscated method/field list
Thanks for that. I found a set of excel files matching my description. Are these specifically for 1.8, though (I'm assuming they are)?
-
[1.8] Item and block drops - leaves [[Solved]]
Override the method getItemDropped in the block class
-
[1.8] [Solved] Where to find deobfuscated method/field list
In 1.7.10 there were a couple of excel files which contained a list of them. I can't find it in 1.8. Does anyone know where to find a Searge-to-deobfuscated method/field mapping in 1.8?
-
[1.8] TileEntity Slot not synchronized
Edited with pastes. They look OK
-
[1.8] TileEntity Slot not synchronized
Sorry about that, that's the forum. It looks fine in Eclipse. I'll try and put it up on pastebin and see if it's any better on there
-
[1.8] TileEntity Slot not synchronized
What do you mean? getInventoryCrafting is there to get the InventoryCrafting object required by SlotCrafting. Am I missing something? EDIT: If you're talking about the craftMatrix field in SlotCrafting (which I don't think you are), that's private and I don't see any getters
-
[1.8] TileEntity Slot not synchronized
I've been having this problem for quite a while now, and no matter what I do there is a certain inventory slot that updates on the server side but not on the client side. Shouldn't detectAndSendChanges automatically sort this problem out? The progress bars are synchronized fine Here is my container class. The problematic slot is the output slot (ID 9): This is my tile entity: Pastebin: Container: http://pastebin.com/jeUuyprm Tile entity: http://pastebin.com/0KCpDqj3 Any idea what's going wrong? Thanks in advance for answers
-
odd bug
You need to change the version of ForgeGradle in the build.gradle file
-
[1.7.10] How to detect when Right Click is not pressed.
Then you can use the tick update event for the player
-
[1.7.10] How to detect when Right Click is not pressed.
I don't know whether it's the preferred way to do it in Minecraft, but I know OpenGL has its own I/O system for that kind of thing
-
[1.8] [Solved] Autocrafting Table not crafting item
I got it working using packets - it wasn't so much the inventory slot which were the problem, it was the craftTime which wasn't synchronized (it was being displayed on the GUI client side) Thanks for your help diesieben07
-
[1.8] [Solved] Autocrafting Table not crafting item
Okay thanks
-
[1.8] Item Rendering is a bit broken
Show us your item models
-
[1.8] [Solved] Autocrafting Table not crafting item
Oh OK, I'll play around with that, see if I can get it working. It might involve sending packets which I was hoping to avoid, but there should be a simpler way
-
[1.8] [Solved] Autocrafting Table not crafting item
Got to go now, so I think I'll post this issue tomorrow on a different thread
-
[1.8] [Solved] Autocrafting Table not crafting item
The client and server try to craft the items at different times, and refresh only when I relog
-
[1.8] [Solved] Autocrafting Table not crafting item
Okay so I've solved that problem, but I'm now getting some syncronization issues with the client and server. Here's my updated tile entity:
-
[1.8] [Solved] Autocrafting Table not crafting item
Oh I see! DERP!!! I wish I could spot these problems as quickly as you
IPS spam blocked by CleanTalk.