ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/api/recipe/WeightedOre.java

24 lines
625 B
Java
Raw Normal View History

2016-10-31 19:20:29 +01:00
/*
* This file ("WeightedOre.java") is part of the Actually Additions mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://ellpeck.de/actaddlicense
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2017-01-01 16:23:26 +01:00
* © 2015-2017 Ellpeck
2016-10-31 19:20:29 +01:00
*/
package de.ellpeck.actuallyadditions.api.recipe;
import net.minecraft.util.WeightedRandom;
2019-05-02 09:10:29 +02:00
public class WeightedOre extends WeightedRandom.Item {
2016-10-31 19:20:29 +01:00
public final String name;
2019-05-02 09:10:29 +02:00
public WeightedOre(String name, int weight) {
2016-10-31 19:20:29 +01:00
super(weight);
this.name = name;
}
}