NaturesAura/src/main/java/de/ellpeck/naturesaura/api/misc/WeightedOre.java

15 lines
358 B
Java
Raw Normal View History

2020-04-29 16:38:50 +02:00
package de.ellpeck.naturesaura.api.misc;
2021-12-04 19:17:21 +01:00
import net.minecraft.resources.ResourceLocation;
import net.minecraft.util.random.WeightedEntry;
2020-04-29 16:38:50 +02:00
2021-12-04 19:17:21 +01:00
public class WeightedOre extends WeightedEntry.IntrusiveBase {
2020-04-29 16:38:50 +02:00
public final ResourceLocation tag;
public WeightedOre(ResourceLocation tag, int weight) {
super(weight);
this.tag = tag;
}
}