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.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. Particles only spawn client side, move it outside of the !worldIn.isRemote
  2. Is it an actual Ghost block, like it only exists client side?
  3. 1.7.10 is no longer supported, but since you gave an example it is obviously possible as it has been done before.
  4. When you call register you pass the block that already has a registered name it is probably better to write the name lower case.
  5. login name? What they are saying is that you are trying to register a variable that doesn't exist. Instead of cache_wall use CACHE_WALL in your register method and as I stated before your need to register an ItemBlock as well as the Block.
  6. When you register blocks you also have to register an ItemBlock.
  7. Why did you post this here? This is a forum to get help with code.
  8. As said above you need to send a packet to nearby players and since there is a tutorial about it take this it is by Cool Alias he does a really good job a explaining things. :3 http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2137055-1-7-x-1-8-customizing-packet-handling-with
  9. Try using the world parameter passed into the method and if that doesn't work you will need to use a custom packet.
  10. Okay it sounds like a hassel to save all of the data, but those events should be what you are looking for...Have Fun
  11. What do you mean by chunk data? Maybe Try ChunkDataEvent.Save/Load or ChunkEvent.Load/Unload
  12. I believe that he wants to grab an instance of the entity not create one as, creating a new instance of a CustomNPC Entity would be kinda pointless since you would be able to call any of the functions added by Custom NPCs.
  13. You would need to scan manually like the hopper does. Then find a way to set the location of the Entity.
  14. Everything after the else crashes because you are trying to cast entityWhatever into EntityPlayerMP which is not always possible.
  15. But it does have to get the EntityItems near it.
  16. Look at those and also update to 1.10
  17. It seems the error is in your DependancyGraph on line 31.
  18. Does this ever get called? public static void init() { CapabilityManager.INSTANCE.register(IPlayerCapability.class, PlayerCapability.PlayerStorage.playerStorage, PlayerCapability.class); } I didn't see anything like this in your code. private static class Factory implements Callable<IExampleCapability> { @Override public IExampleCapability call() throws Exception { return new Implementation(); } }
  19. Does this work in the dev environment?
  20. Do look back at the difference I think you will find what you did wrong. Have fun :3
  21. Put the ItemContainer.INVENTORY_START back and see if that works
  22. Have you tried shift clicking to see if that works?

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.