Package net.minecraft.util

Examples of net.minecraft.util.Tuple


    @SuppressWarnings("unchecked")
    public static void addEmeraldBuyRecipe(EntityVillager villager, MerchantRecipeList list, Random random, Item item, float chance, int min, int max)
    {
        if (min > 0 && max > 0)
        {
            EntityVillager.villagersSellingList.put(item, new Tuple(min, max));
        }
        EntityVillager.func_146091_a(list, item, random, chance);
    }
View Full Code Here


    @SuppressWarnings("unchecked")
    public static void addEmeraldSellRecipe(EntityVillager villager, MerchantRecipeList list, Random random, Item item, float chance, int min, int max)
    {
        if (min > 0 && max > 0)
        {
            EntityVillager.blacksmithSellingList.put(item, new Tuple(min, max));
        }
        EntityVillager.func_146089_b(list, item, random, chance);
    }
View Full Code Here

TOP

Related Classes of net.minecraft.util.Tuple

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.