类 TradeWithVillagerEventTest
java.lang.Object
net.neoforged.neoforge.oldtest.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).-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
ENABLE
private static final boolean ENABLE- 另请参阅:
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
构造器详细资料
-
TradeWithVillagerEventTest
public TradeWithVillagerEventTest()
-
-
方法详细资料
-
onPlayerVillagerTrade
-