Class TradeWithVillagerEventTest

java.lang.Object
net.minecraftforge.debug.entity.player.TradeWithVillagerEventTest

public class TradeWithVillagerEventTest extends Object
This tests for TradeWithVillagerEvent and fires when the player completes a trade with either a Villager or WanderingTrader(must inherit from AbstractVillager). This test shows the player name involved along with the villager name and what the result of the trade is(Count and Item).
  • Field Details

    • ENABLE

      private static final boolean ENABLE
      See Also:
    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • TradeWithVillagerEventTest

      public TradeWithVillagerEventTest()
  • Method Details