net.minecraft.src

## Class TradeEntry

- java.lang.Object
- - net.minecraft.src.TradeEntry

-     public class TradeEntry
      extends Object

  Compatibility class for ModLoader -- do not use
  Author:
    cpw

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `boolean` | `buying`
    `float` | `chance`
    `int` | `id`
    `int` | `max`
    `int` | `min`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TradeEntry(int id, float chance, boolean buying)`
    `TradeEntry(int id, float chance, boolean buying, int min, int max)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### id

          public final int id

    - #### chance

          public float chance

    - #### buying

          public boolean buying

    - #### min

          public int min

    - #### max

          public int max

  - ### Constructor Detail

    - #### TradeEntry

          public TradeEntry(int id,
                    float chance,
                    boolean buying,
                    int min,
                    int max)

    - #### TradeEntry

          public TradeEntry(int id,
                    float chance,
                    boolean buying)