package net.minecraft.util.context; import net.minecraft.resources.ResourceLocation; public class ContextKey { private final ResourceLocation name; public ContextKey(ResourceLocation resourceLocation) { this.name = resourceLocation; } public static ContextKey vanilla(String string) { return new ContextKey<>(ResourceLocation.withDefaultNamespace(string)); } public ResourceLocation name() { return this.name; } public String toString() { return ""; } }