public class ReverseTagWrapper<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ResourceLocation> |
cache |
private java.util.function.Supplier<TagCollection<T>> |
colSupplier |
private int |
generation |
private java.util.function.IntSupplier |
genSupplier |
private T |
target |
Constructor and Description |
---|
ReverseTagWrapper(T target,
java.util.function.IntSupplier genSupplier,
java.util.function.Supplier<TagCollection<T>> colSupplier) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ResourceLocation> |
getTagNames() |
private final T target
private final java.util.function.IntSupplier genSupplier
private final java.util.function.Supplier<TagCollection<T>> colSupplier
private int generation
private java.util.Set<ResourceLocation> cache
public ReverseTagWrapper(T target, java.util.function.IntSupplier genSupplier, java.util.function.Supplier<TagCollection<T>> colSupplier)
public java.util.Set<ResourceLocation> getTagNames()