
Messorix
Members-
Posts
60 -
Joined
-
Last visited
Everything posted by Messorix
-
I'm trying to have custom tooltip on waila for my blocks. When I try to make it the same way ExtraFood does it, I get errors on the package imports. Apparently for me mcp does not contain mobius... import mcp.mobius.waila.api.IWailaRegistrar; Did I miss something? It feels like it is a very simple thing. Edit: I didn't properly add the waila.java to referenced libraries. Derp...
-
Fuel also doesn't respond to shift-click (tested with coal and bucket of lava) Line 29: System.out.println("Flux Grinder Recipes is called"); Also... I made an irc-channel so if you are willing that might be a lot quicker Go to https://esper.net/publicirc.php and then /join MoleculeCraft
-
I meant the console... My bad
-
Not sure what should've changed, but it didn't do anything. Everything is exactly the same, even error log
-
[10:20:05] [Client thread/INFO] [sTDOUT]: [com.messorix.moleculecraft.base.containers.ContainerFluxGrinder:transferStackInSlot:45]: 37, 1, 38 [10:20:05] [server thread/INFO] [sTDOUT]: [com.messorix.moleculecraft.base.containers.ContainerFluxGrinder:transferStackInSlot:45]: 37, 1, 38 So that works I guess
-
I got the slots to show up properly and if I shift-click a copper ingot it doesn't crash anymore. However, it doesn't get placed in the input slot nor does fuel end up in the fuel slot... Have I missed some functionality? git is updated
-
I never make any custom slots though... Only in the container classes are Slots (as classes/entities) mentioned. So I'm still unsure what you exactlye mean by that
-
That still doesn't explain how I'm supposed to handle this problem though...
-
As far as my knowledge of Java-programming goes, child-constructors get called first and then go up the parent-tree. I'm also not entirely sure how you mean this:
-
Eclipse says "Constructor call must be the first statement in a constructor" so....
-
super(player, tileentity); has to be the first line in the constructor... (finals were already removed)
-
It did not Meanwhile I'm reading up on what Capabilities actually is
-
Like this?
-
[05:11:11] [Client thread/INFO] [sTDOUT]: [com.messorix.moleculecraft.base.containers.ContainerFluxGrinder:transferStackInSlot:45]: 36, 1, 37 Which is very very weird
-
Here you go
-
Well... I changed it, but the erro stays exactly the same (git updated)
-
Unless you meant the field values, I have no clue
-
My git I will definitely take that advice
-
That seemed to have fixed the gui crashing the game. I also figured out the alignment of the player inventory and hotbar, so they are good as well. Somehow the input and output slots are still misaligned though... On top of that, when I shift-click an item that has a recipe in the flux grinder it crashes the game with this error: I updated git with my current code.
-
Whenever I run the code as it is right now on github, the moment it crashes seems randomish. In the console I can see it runs through fractionOfFuelRemaining several times without failing, after which it suddenly crashes. I added "System.out.println("FuelSlots = " + fuel_slots + " (fractionOfFuelRemaining)");" on line 54. The error-part above is always the same, but the STDOUT-part varies in size for some random reason. burnTimeInitial is set and at one point just un-sets itself or something.
-
After some changes (and troubles with git) I still get this error though
-
Together with a friend I have finally set up my git so the whole this can be found here
-
More than once Which makes it even more difficult to pinpoint what it exactly is
-
I changed my TileEntityFluxGrinder: Somehow I get to see the output in the console yet have this crashlog:
-
The new ModTileEntity doesn't give any console output That means burnTimeRemaining == null, but I don't understand how...