static class WeightedBakedModel.WeightedModel extends WeightedRandom.Item implements java.lang.Comparable<WeightedBakedModel.WeightedModel>
Modifier and Type | Field and Description |
---|---|
protected IBakedModel |
model |
itemWeight
Constructor and Description |
---|
WeightedModel(IBakedModel modelIn,
int itemWeightIn) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WeightedBakedModel.WeightedModel p_compareTo_1_) |
java.lang.String |
toString() |
protected final IBakedModel model
public WeightedModel(IBakedModel modelIn, int itemWeightIn)
public int compareTo(WeightedBakedModel.WeightedModel p_compareTo_1_)
compareTo
in interface java.lang.Comparable<WeightedBakedModel.WeightedModel>
public java.lang.String toString()
toString
in class java.lang.Object