net.minecraft.tileentity

## Class WeightedRandomMinecart

- java.lang.Object
- - net.minecraft.util.WeightedRandomItem
  - - net.minecraft.tileentity.WeightedRandomMinecart

-     public class WeightedRandomMinecart
      extends WeightedRandomItem

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `NBTTagCompound` | `field_98222_b`
    `String` | `minecartName`

    - ### Fields inherited from class net.minecraft.util.WeightedRandomItem

      `itemWeight`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WeightedRandomMinecart(MobSpawnerBaseLogic par1MobSpawnerBaseLogic, NBTTagCompound par2NBTTagCompound)`
    `WeightedRandomMinecart(MobSpawnerBaseLogic par1MobSpawnerBaseLogic, NBTTagCompound par2NBTTagCompound, String par3Str)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `NBTTagCompound` | `func_98220_a()`

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

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

- - ### Field Detail

    - #### field_98222_b

          public final NBTTagCompound field_98222_b

    - #### minecartName

          public final String minecartName

  - ### Constructor Detail

    - #### WeightedRandomMinecart

          public WeightedRandomMinecart(MobSpawnerBaseLogic par1MobSpawnerBaseLogic,
                                NBTTagCompound par2NBTTagCompound)

    - #### WeightedRandomMinecart

          public WeightedRandomMinecart(MobSpawnerBaseLogic par1MobSpawnerBaseLogic,
                                NBTTagCompound par2NBTTagCompound,
                                String par3Str)

  - ### Method Detail

    - #### func_98220_a

          public NBTTagCompound func_98220_a()