Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Turnrp

Members
  • Content Count

    57
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Turnrp

  • Rank
    Stone Miner

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Im gonna head to bed just right things you can help me with in here gn ill talk tommorow
  2. I did @Overide OnItemRightClick and nothing shows up
  3. @SubscribeEvent public void OnRightClick(PlayerInteractEvent.RightClickItem RightClick) { LivingEntity player = RightClick.getEntityLiving(); if (player.getHeldItemMainhand().getItem() == RegistryHandler.BACKPACK.get()) { player.setHealth(0); } }
  4. New Code: if (player.getHeldItemMainhand().getItem() == RegistryHandler.BACKPACK.get()) { player.setHealth(0); } P.S Still doesn't work
  5. Btw i just added braces to it and it still did nothing
  6. Im trying to detect when a player clicks with my item if (player.getHeldItemMainhand().getItem() == RegistryHandler.BACKPACK.get()) player.setHealth(0); }
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.