Skip 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.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. What? What Minecraft version are you using?
  2. Does this ever get called? public static void init() { eventEffectTeleportation = new PotionEffectTeleportation(); GameRegistry.register(eventEffectTeleportation); } Plus
  3. Where did you implement dracos suggestion?
  4. Caused by: java.lang.NullPointerException at com.lambda.PlentifulMisc.events.PlayerTickHandler.onPlayerTick(PlayerTickHandler.java:24) This is your problem, something is null on line 24.
  5. Your code in the ServerProxy never runs because you never call it, and that is good because you are calling client code in server elements. FMLCommonHandler.instance().bus().register(new PlayerTickHandler(Minecraft.getMinecraft())); You should be registering your EventHandler in common code, aka your main mod class. Why do you have a Minecraft instance when you are given a EntityPlayer instance from the event.
  6. Look at the block in f3 and see if the state data on the right is what it is supposed to be.
  7. One class for the handler and one more class for the message.
  8. Is your IMessage and IMessageHandler the same class?
  9. When the data changes call a block update.
  10. update method is added by the interface ITickable and your getUpdatePacket and onDataPacket looks fine.
  11. You need to sync your data using onDataPacket and getUpdatePacket in your TilePulverizer.
  12. How do you know your TE gained energy from the other mods TE? Show us your Creative capacitor.
  13. Sorry, its been a long time since i have had to save itemstacks, or rather type the line of code.
  14. Youc could store an Items registry name. I don't know the code to save an ItemStack off of the top of my head, but all other storage TEs do it.
  15. https://github.com/MinecraftForge/MinecraftForge
  16. Look at SPacketUpdateTileEntity it passes a NBTTagCompound.
  17. You are not saving what item you have.
  18. Remove the semi colon at the end of this line then fix the syntax error that shows up if(jar.itemStored == null) {
  19. Remove this line then start from there jar.itemStored = heldItem.getItem();
  20. Put in a PR to forge so you can add/modify an event.
  21. Hugo suggested PlayerTickEvent and there is plenty of documentation on the internet I specifically like cool alias'. http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and Jaeblar has good tutorials.
  22. What I want is to make a personalized tree, just like vanilla, but with my blocks, it will not generate in the world, but will be made through a recipe(sappling). Make the blocks. Add a recipe for the sapling. Generate a tree shape you want multiple if you want, then look through the vanilla sapling as it demonstrates the vanilla sapling behavior.
  23. Leaning what functions do definitely comes with experience, and you can always just look at them in a deobfuscated state and learn what they do that way (exploring the ins and outs of minecraft).
  24. "Item Right Click" is when you right click while holding an Item.

Important Information

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

Account

Navigation

Search

Search

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.