IMerchant .java

net.minecraft.entity.IMerchant (interface): members: verifySellingItem, getCustomer, setCustomer, getRecipes, setRecipes, useRecipe, getDisplayName.

net.minecraft.entityinterface32 linescommon917 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (5)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

IMerchant.java32 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.entity;
2
3
import net.minecraft.entity.player.EntityPlayer;
4
import net.minecraft.item.ItemStack;
5
import net.minecraft.util.IChatComponent;
6
import net.minecraft.village.MerchantRecipe;
7
import net.minecraft.village.MerchantRecipeList;
8
9
public interface IMerchant
10
{
11
    void setCustomer(EntityPlayer p_70932_1_);
12
13
    EntityPlayer getCustomer();
14
15
    MerchantRecipeList getRecipes(EntityPlayer p_70934_1_);
16
17
    void setRecipes(MerchantRecipeList recipeList);
18
19
    void useRecipe(MerchantRecipe recipe);
20
21
    /**
22
     * Notifies the merchant of a possible merchantrecipe being fulfilled or not. Usually, this is just a sound byte
23
     * being played depending if the suggested itemstack is not null.
24
     */
25
    void verifySellingItem(ItemStack stack);
26
27
    /**
28
     * Get the formatted ChatComponent that will be used for the sender's username in chat
29
     */
30
    IChatComponent getDisplayName();
31
}
32

Deobfuscated MCP 1.8.9 source of IMerchant from Marcelektro/MavenMCP-1.8.9 (net/minecraft/entity/IMerchant.java), stored verbatim.