Class ShieldBlockTest

java.lang.Object
net.minecraftforge.debug.item.ShieldBlockTest

public class ShieldBlockTest extends Object
The ShieldBlockTest is the test mod for the ShieldBlockEvent. If successful, this handler will trigger when an arrow is blocked by a player. The event will give the arrow to the player, and make the player receive half of the damage (instead of zero damage). Note this just gives them a normal arrow, retrieving the true arrow requires some reflection.
  • Field Details

  • Constructor Details

    • ShieldBlockTest

      public ShieldBlockTest()
  • Method Details