Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

slugslug

Members
  • Joined

  • Last visited

Everything posted by slugslug

  1. 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
  2. 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?
  3. 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?
  4. 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:
  5. 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:
  6. I have this custom recipe handler for my custom machine and i cant figure out how to convert it to have two outputs. Here is the file:
  7. I made forgeMultiPart dev jar a library like i did to code chicken core and NEI. Then I linked the source jar to all three jars and i can view code chicken core classes and also NEI classes. FMP i cant it just says Attach source. Im using intellij.
  8. Oh duh I haven't pushed my latest changes so in my workspace it has. I'll post the new container and tileentity on here. Updated container: Updated TE:
  9. Were would I do that I am already doing that in my container class.
  10. 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:
  11. What's your question though. Do you not know how to install an API and use it?
  12. Wow thanks i cant believe it was that smiple i just over looked that. Thanks for the help
  13. 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.
  14. 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.
  15. 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.
  16. How do i do that. Do i just call markDirty()?
  17. The saving and loading is working fine I have found out the promblem is the getOrientation method. Here is the console from me leaving the world then re entering it. http://pastebin.com/JNxEqs1C
  18. 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.
  19. 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.
  20. So i have dine multiple tests and the orientation is getting saved and set back but i think the render is not being rotated. Here is my code: Renderer TileEntity:
  21. I got it to work by just running setupDecompWorkspace and idea again now it works.
  22. So i updated to forge 1180 and now when ever i go to run i get this error (https://dl.dropboxusercontent.com/u/62137075/error.png). Is anyone else having this issue.
  23. Yup didn't look at that.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.