Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

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. Why did you post this here? This is a forum to get help with code.
  7. 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
  8. Try using the world parameter passed into the method and if that doesn't work you will need to use a custom packet.
  9. Okay it sounds like a hassel to save all of the data, but those events should be what you are looking for...Have Fun
  10. What do you mean by chunk data? Maybe Try ChunkDataEvent.Save/Load or ChunkEvent.Load/Unload
  11. 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.
  12. You would need to scan manually like the hopper does. Then find a way to set the location of the Entity.
  13. Everything after the else crashes because you are trying to cast entityWhatever into EntityPlayerMP which is not always possible.
  14. It seems the error is in your DependancyGraph on line 31.
  15. 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(); } }
  16. Do look back at the difference I think you will find what you did wrong. Have fun :3
×
×
  • Create New...

Important Information

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