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.

coolboy4531

Members
  • Joined

  • Last visited

Everything posted by coolboy4531

  1. Maybe I'm confused - I'm still not exactly sure what you're doing. EDIT: Oh... are you saying that it generates 3-4 structures right next to each other - when it generates?
  2. You could use ChunkDataEvent.Load getting the data of the chunk at (x, z) -- also checking if its null before proceeding. This could cause issues with - whatever you are using - because it requires the chunk to be loaded.
  3. You do know how to make a loop right?
  4. Have you realized like in: void doRender() - inside RenderFreeTNTPrimed - you are using EntityPrimedTNT as the instance, instead of your TNT?
  5. Give us the full crash report, please.
  6. The BlockBounds is to set how to get the hitboxes, like wheat its different from regular blocks. The update tick checks (each tick) for valid light - so it can grow, and checks if the crop metadata is 7, if it is (then it will become harvest-able)
  7. Haven't messed around with chunks. It could be that the chunk you are trying to "remove" blocks in, hasn't been "generated". Still really not sure, I'll check around and see if I can help you. Good luck
  8. Error is at: Caused by: java.lang.NullPointerException at net.dimensionshift.mod.world.dimensions.ChunkProviderDimenisonShift.provideChunk(ChunkProviderDimenisonShift.java:79) ~[ChunkProviderDimenisonShift.class:?] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:133) ~[ChunkProviderServer.class:?] It's still null. Not sure. Have you tried @Override -ing it?
  9. Referenced Libraries. I find the imports (I use) in the minecraftforge jar (if I remember correctly)
  10. Let me see your codes for now, as I made this using Forge 10.12.0.997. Use the Declaration method in your IDE for information.
  11. 50 is equal to 50D it is just 50 doubles. I don't know, why don't you try Twinklez's method, by sending an object. Have you even checked that you are looking at a block? You could however send a MovingObjectPosition and get the coordinates of what it hits, whilst checking if it hits a block. Psuedo code - open by Twinklez -- you can remove the print statements. https://gist.github.com/Twinklez/9905161
  12. Try looking at EntitySpider. They attack the player by jumping at them.
  13. Don't know if this would work, but I had this problem too. Try multiplying each vector by 50D.
  14. It says its a FileNotFoundException.
  15. They are still working on creating an actual function for it, don't worry about it -- as there is no use for it.
  16. You don't use IDs in 1.7. They were REMOVED, now IDs do nothing.
  17. My bad, it was confusing (I read it incorrectly) let me see what I can find.
  18. Also, put your coding in spoilers, or other things.
  19. Uh oh. @Override public Chunk provideChunk(int var1, int var2) { // TODO Auto-generated method stub return null; }
  20. You need to add an AI to attack the player, check the vanilla mobs that attack you (EntityZombie, EntitySpider). The most common AI used for attacking the player is (EntityAIAttackOnCollide), you can figure out the fields if you use your sources correctly.
  21. If you're advanced in Java -- you should try ASM (bytecode manipulation).

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.