net.minecraft.resources

public class ResourceLocation

implements Comparable<ResourceLocation>

sm
net.minecraft.resources.ResourceLocation
net.minecraft.class_2960
net.minecraft.util.Identifier
net.minecraft.util.ResourceLocation
net.minecraft.server.v1_15_R1.MinecraftKey

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_INVALID
field_13354
COMMAND_EXCEPTION
field_200118_c
protected final String
a
namespace
field_13353
namespace
field_110626_a
namespace
protected final String
b
path
field_13355
path
field_110625_b
key

Constructor summary

ModifierConstructor
protected (String[] id)
public (String arg0)
public (String arg0, String arg1)

Method summary

Modifier and TypeMethod
public static ResourceLocation
a(String arg0, char arg1)
of(String arg0, char arg1)
method_12838(String arg0, char arg1)
splitOn(String id, char delimiter)
func_195828_a(String arg0, char arg1)
public static ResourceLocation
a(String arg0)
tryParse(String arg0)
method_12829(String arg0)
tryParse(String id)
func_208304_a(String arg0)
protected static String[]
b(String arg0, char arg1)
decompose(String arg0, char arg1)
method_12830(String arg0, char arg1)
split(String id, char delimiter)
func_195823_b(String arg0, char arg1)
public String
a()
getPath()
method_12832()
getPath()
func_110623_a()
getKey()
public String
b()
getNamespace()
method_12836()
getNamespace()
func_110624_b()
getNamespace()
public int
a(sm arg0)
compareTo(ResourceLocation arg0)
method_12833(class_2960 arg0)
compareTo(Identifier arg0)
compareTo(ResourceLocation arg0)
public static ResourceLocation
a(com.mojang.brigadier.StringReader arg0)
read(com.mojang.brigadier.StringReader arg0)
method_12835(com.mojang.brigadier.StringReader arg0)
fromCommandInput(com.mojang.brigadier.StringReader reader)
func_195826_a(com.mojang.brigadier.StringReader arg0)
public static boolean
a(char arg0)
isAllowedInResourceLocation(char arg0)
method_12831(char arg0)
isCharValid(char c)
func_195824_a(char arg0)
private static boolean
c(String arg0)
isValidPath(String arg0)
method_20208(String arg0)
isPathValid(String path)
func_217856_c(String arg0)
private static boolean
d(String arg0)
isValidNamespace(String arg0)
method_20209(String arg0)
isNamespaceValid(String namespace)
func_217858_d(String arg0)
public static boolean
b(String arg0)
isValidResourceLocation(String arg0)
method_20207(String arg0)
isValid(String id)
func_217855_b(String arg0)