Class TradeWithVillagerEventTest
java.lang.Object
net.minecraftforge.debug.entity.player.TradeWithVillagerEventTest
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
-
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
-
onPlayerVillagerTrade
-