Jump to content

tantrex

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

tantrex's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. How can I check if a player is operator or not, I want a all or nothing command and I tried casting ICommandSender as EntityPlayerMP but it has no isOp() method or similar. If anyone can shed light on this I would appreciate it.
  2. I am a noob, I have tried searching for this, I cannot find ANYTHING in the API for it. I am trying to stick 100% to forge without hacking core files. I need to find a way to capture Block Destruction Events and possibly use events. There are two methods in the net.minecraft.block.Block class that look interesting. Specifically: onBlockDestroyedByExplosion(World par1World, int par2, int par3, int par4) onBlockDestroyedByPlayer(World par1World, int par2, int par3, int par4, int par5) How could I turn these into events. Please any help would be wonderful! Thanks so much!
×
×
  • Create New...

Important Information

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