
slugslug
Members-
Posts
91 -
Joined
-
Last visited
Everything posted by slugslug
-
Ok then what do I download for tconstruct then Jude the library folder on there repo.
-
If i open any classes it errors out on the imports and they are not java classes the icon is different.
-
Could some ease help me how to do this. If I mark it as a source root I got a bunch of errors so how do I properly install another's mods API.
-
I put in under scr/api/java and then all the apis. I dont now what todo after that.
-
So i would like to add customs tools to tinkers construct from my mod im currently working on. So i made a new folder outside of main called api. I get loads of errors from both tcon and tcons depedices saying they cant find the imports. How do install an api the right way? Edit: If i move the api folder instide of the main.java it works fine but i dont think thats the right way.
-
I was looking at the tinkers construct repo and it seems there is no API. So to make an addon would you just install the whole mod and use the classes from there?
-
Ok I will try and thanks for the help.
-
We'll I got rid of the one method and made sure it over ride the getInventorySize and returned this.slots.lenght. It now drops the item in the slots but when you replace a furnace in the same spot it will have one of that item or block in that slot. If you break the furnace it does not drop but you can take that item out.
-
I mean the statement checking to see if the item stack is not null is returning false. I'll change the getInventorySize to getInventorysize and see if it works.
-
Ok I'll have a look at why that is returning 0. The statement checking to see if the itemstack is not null does not return null so I think it has to do with something in the tileentity.
-
I also found another problem. When you break a furnace with something in the slots and place a new furnace in the same spot it will have the same inventory of the previous furnace that i broke. Is that because of the break block method not working?
-
and whats wroung with it. It is returning a new TileEntity of that machine. and my testing have found out the itemstack is null.
-
Why would it return null did I do something wroung?
-
when i break my custom furnace the inventory does not not drop i have the break block method filled out. Furnace basic machine
-
so i went to sent up my dev environment and downloaded the recommended and ran this command gradlew setupDecompWorkspace and get this error https://dl.dropboxusercontent.com/u/62137075/error.png i have never got this before so could someone help me.
-
So i am custom rendering my block using a tesslator. How would i do that in the inventory? Here is my code: My itemrenderer: My custom renderer:
-
[1.7.2][unsloved] custom inventory slots duping items
slugslug replied to slugslug's topic in Modder Support
Bump -
So i was working on another mod and i typed the same code for the ISidedInventory methods and tested. the slot dupes the itemstack you put in there and when i try to take it out it disapears. I even tried copying the code from one of my mods and it still does the same thing. TileEntity: Container: If you need any other code i will post it.
-
Could someone help me to upload my mod to github. I already have egit installed a a repo.
-
I have already have the tank in my tileentity and container. I cant seem how to fill it by putting a bucket in a certain slot. Could some one help me with that?
-
So i tried to make a alloy smelter and when i only put something in the one slot it crashes Here is my tileentity class
-
I was wondering how would I make it so if you hover your mouse over the power bar on my GUI have is display how much power like some mods do?
-
You cant check if it is not null so i changed the null to a zero and still the same problem.
-
Tileentity: Gui: