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

MarbleGateKeeper

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MarbleGateKeeper

  • Rank
    Tree Puncher

Converted

  • Gender
    Male

Recent Profile Visitors

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

  1. Hello everyone. Greeting. My situation is: I need to stop an ItemStack (such as armors, tools) from break under certain condition (such as having certain Enchantment/tag value). I've tried LivingEntityUseItemEvent and PlayerDestroyItemEvent. LivingEntityUseItemEvent didn't get fired when my 1-durability sword broke. PlayerDestroyItemEvent only got fired at the first try for unknown-reason, and here is my code for it: @SubscribeEvent public static void doToolsFindTheWayEnchantmentEvent(PlayerDestroyItemEvent event){ if(!event.getEntityLiving().world.isRemote()){
×
×
  • Create New...

Important Information

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