public interface IMerchant
Modifier and Type | Method and Description |
---|---|
boolean |
func_213705_dZ() |
default boolean |
func_223340_ej() |
PlayerEntity |
getCustomer() |
MerchantOffers |
getOffers() |
World |
getWorld() |
int |
getXp() |
SoundEvent |
getYesSound() |
void |
onTrade(MerchantOffer offer) |
default void |
openMerchantContainer(PlayerEntity player,
ITextComponent p_213707_2_,
int level) |
void |
setClientSideOffers(MerchantOffers offers) |
void |
setCustomer(PlayerEntity player) |
void |
setXP(int xpIn) |
void |
verifySellingItem(ItemStack stack) |
void setCustomer(@Nullable PlayerEntity player)
@Nullable PlayerEntity getCustomer()
MerchantOffers getOffers()
void setClientSideOffers(@Nullable MerchantOffers offers)
void onTrade(MerchantOffer offer)
void verifySellingItem(ItemStack stack)
World getWorld()
int getXp()
void setXP(int xpIn)
boolean func_213705_dZ()
SoundEvent getYesSound()
default boolean func_223340_ej()
default void openMerchantContainer(PlayerEntity player, ITextComponent p_213707_2_, int level)