Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/21/17 in all areas

  1. make sure --username is your email and not your actual username
    1 point
  2. 1 point
  3. You could put @Optional.Method("modid") above both of those methods to let Forge remove them in case ToughAsNails is not loaded.
    1 point
  4. In your code, you already check if you are on the server side. Because of that, you can cast your world object to a WorldServer object and then use the following method to spawn your particles. It's much easier than the manual packet thing (which I wouldn't have told you about if I'm not oblivious and had read the WorldServer class). Well, knowledge of packets is always good anyways . /** Spawns the desired particle and sends the necessary packets to the relevant connected players. */ public void spawnParticle(EnumParticleTypes particleType, double xCoord, double yCoord, double zCoord, int numberOfParticles, double xOffset, double yOffset, double zOffset, double particleSpeed, int... particleArguments)
    1 point
  5. World#spawnParticle(EnumParticleTypes, double, double, double, double, double, double, int...) does nothing on the server, it only spawns particles when called on the client. You need to use one of the spawnParticle overloads from WorldServer instead.
    1 point
  6. Yes, in the same place you register your mod blocks and items
    1 point
  7. You need to register the TileEntity using GameRegistry.registerTileEntity() And what do you mean by invincible.
    1 point
  8. Hey clowcadia check out the GreyGhosts MinecraftByExample it has lots of good examples of items and blocks. https://github.com/TheGreyGhost/MinecraftByExample
    1 point
×
×
  • Create New...

Important Information

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