mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-09-29 20:31:05 +02:00
24 lines
623 B
Java
24 lines
623 B
Java
|
/*
|
||
|
* 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
|
||
|
*
|
||
|
* © 2015-2016 Ellpeck
|
||
|
*/
|
||
|
|
||
|
package de.ellpeck.actuallyadditions.api.recipe;
|
||
|
|
||
|
import net.minecraft.util.WeightedRandom;
|
||
|
|
||
|
public class WeightedOre extends WeightedRandom.Item{
|
||
|
|
||
|
public final String name;
|
||
|
|
||
|
public WeightedOre(String name, int weight){
|
||
|
super(weight);
|
||
|
this.name = name;
|
||
|
}
|
||
|
}
|