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. 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
  4. 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
  5. Yes, in the same place you register your mod blocks and items
    1 point
  6. You need to register the TileEntity using GameRegistry.registerTileEntity() And what do you mean by invincible.
    1 point
  7. 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.