mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-06-08 22:11:35 +02: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;
|
|
}
|
|
}
|