001package net.minecraft.src;
002
003/**
004 * Compatibility class for ModLoader -- do not use
005 *
006 * @author cpw
007 *
008 */
009public class TradeEntry
010{
011    public final int id;
012    public float chance;
013    public boolean buying;
014    public int min = 0;
015    public int max = 0;
016
017    public TradeEntry(int id, float chance, boolean buying, int min, int max)
018    {
019        this.id = id;
020        this.chance = chance;
021        this.buying = buying;
022        this.min = min;
023        this.max = max;
024    }
025
026    public TradeEntry(int id, float chance, boolean buying)
027    {
028        this(id, chance, buying, 0, 0);
029    }
030}