mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-04 20:39:09 +01:00
15 lines
339 B
Java
15 lines
339 B
Java
|
package de.ellpeck.naturesaura.api.misc;
|
||
|
|
||
|
import net.minecraft.util.ResourceLocation;
|
||
|
import net.minecraft.util.WeightedRandom;
|
||
|
|
||
|
public class WeightedOre extends WeightedRandom.Item {
|
||
|
|
||
|
public final ResourceLocation tag;
|
||
|
|
||
|
public WeightedOre(ResourceLocation tag, int weight) {
|
||
|
super(weight);
|
||
|
this.tag = tag;
|
||
|
}
|
||
|
}
|