17 lines
315 B
Java
17 lines
315 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.resources;
|
|
|
|
import net.minecraft.resources.ResourceKey;
|
|
|
|
@FunctionalInterface
|
|
public interface DependantName<T, V> {
|
|
public V get(ResourceKey<T> var1);
|
|
|
|
public static <T, V> DependantName<T, V> fixed(V value) {
|
|
return id -> value;
|
|
}
|
|
}
|
|
|