
slugslug
Members-
Posts
91 -
Joined
-
Last visited
Everything posted by slugslug
-
i run gradlew build and it fails with an exception. i have a couple of mods in my eclipse/mods and i have there source files in libs. here is the cmd https://dl.dropboxusercontent.com/u/62137075/Untitled.png Here is my bulid.gradle file
-
[1.7.10] custom flowers are not spawning in custom biome
slugslug replied to slugslug's topic in Modder Support
Thank you -
[1.7.10] custom flowers are not spawning in custom biome
slugslug replied to slugslug's topic in Modder Support
Ok that works but I have one promblem. I have multiply flowers but just with fifferent metadata. So how would I make it spawn all the flowers just not the first flower with metadata 0? -
[1.7.10] custom flowers are not spawning in custom biome
slugslug replied to slugslug's topic in Modder Support
Yes addflowers and plant flowers are in biomegenbase. Add flowers I think adds them to a list and when you bone meal it picks flowers based on weight. Were would I use worldgenflowers? -
I am trying to make a custom biome and i got my custom tree to spawn but not as frequent as i would like and i cant seem to figure out how to make it spawn more. I add my flowers with the addFlowers method in the constructor and only one spawns when i bonemeal the ground. I cant seem to find a away that works to make my flowers randmly spawn in the biome. Here is my class:
-
So i made a random world and i went looking for my custom ores and i only seem to be able to find one, copper ore. Here is my world generator class:
-
So i did some testing with print statements and container prints out two values the correct value and then 0. The gui prints out 0; Here is my container class: https://github.com/Professorvennie/MachineryCraft/blob/master/src/main/java/com/professorvennie/core/common/containers/ContainerBronzeFurnace.java Here is my gui class: https://github.com/Professorvennie/MachineryCraft/blob/master/src/main/java/com/professorvennie/core/client/gui/GuiBronzeFurnace.java Here is my tileEntity class: https://github.com/Professorvennie/MachineryCraft/blob/master/src/main/java/com/professorvennie/core/tileEntity/TileEntityBronzeFurnace.java Updated container: Updated TE:
-
[1.7.2/1.7.10] Make mod compatible with BuildCraft MJ
slugslug replied to KeeganDeathman's topic in Modder Support
What's your question though. Do you not know how to install an API and use it? -
[1.7.10]Custom machines ejects inventory at random
slugslug replied to slugslug's topic in Modder Support
Wow thanks i cant believe it was that smiple i just over looked that. Thanks for the help -
So i was using my custom furnace and all of a suddden it ejects its inventory and leaves behind one. This just started to happen out of no where. I am on the latest recommended forge for 1.7.10. I cant figure out why this is happening it never did before. I dont know if it might be a bug in forge or me. Here is my source code: https://github.com/Professorvennie/MachineryCraft# Edit: I figured out what i did to make this happen. It started to happen after this commit: https://github.com/Professorvennie/MachineryCraft/commit/4a742303fc249b3d9628707d433a426dc470bc2c But i dont know why. I just changed them to extend TileEntityMod instead of TileEntity.
-
I have been trying to figure out how to save the inventory contents in my custom block when I break it so when I place it again it saves it's inventory contents.
-
Thanks for the help but it is kinda of out dated. Like packet132TileEntityData doesnt exist so i figured out to change it to S35PacketUpdateTileEntity. I dont know if thats right and pkt.customParm1 is not there any more so i changed it to pkt.func_148857_g() sense that function was A NBTTagCompund. Again i dont know if thats right.
-
Again i have done more testing and the read and write nbt are printing out the right values so i have no idea what is wroung. Edit: It does not only print south i derped and but the print statement before i was setting the new orientation so the set orientation does work. I finaly found out what the promblem is. It is the getorientation method. It always returns south after a world reload but i cant figure out why.
-
I have done that but it confuses me because if a do a print statement in the onockactivated it prints out the correct direction that it was placed even after a world save. If i do the a print statement in the renderer printing out the direction variable it always prints out south after a world save and is fine before a world save? Edit: I have done more testing and i have found out that the setOrentation always returns south and i dont know why it does.
-
Yup didn't look at that.