net.minecraft.resources

public class ResourceLocation

implements Comparable<ResourceLocation>

vk
net.minecraft.resources.ResourceLocation
net.minecraft.class_2960
net.minecraft.util.Identifier
net.minecraft.util.ResourceLocation
net.minecraft.server.v1_16_R3.MinecraftKey

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ResourceLocation>
a
CODEC
field_25139
CODEC
field_240908_a_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_INVALID
field_13354
COMMAND_EXCEPTION
field_200118_c
protected final String
b
namespace
field_13353
namespace
field_110626_a
namespace
protected final String
c
path
field_13355
path
field_110625_b
key

Constructor summary

ModifierConstructor
protected (String[] id)
public (String id)
public (String namespace, String path)

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)
private static com.mojang.serialization.DataResult<ResourceLocation>
c(String arg0)
read(String arg0)
method_29186(String arg0)
method_29186(String arg0)
func_240911_c_(String arg0)
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(vk 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
d(String arg0)
isValidPath(String arg0)
method_20208(String arg0)
isPathValid(String path)
func_217856_c(String arg0)
private static boolean
e(String arg0)
isValidNamespace(String arg0)
method_20209(String arg0)
isNamespaceValid(String namespace)
func_217858_d(String arg0)
public static boolean
b(char arg0)
validPathChar(char arg0)
method_29184(char arg0)
isPathCharacterValid(char arg0)
func_240909_b_(char arg0)
private static boolean
c(char arg0)
validNamespaceChar(char arg0)
method_29185(char arg0)
isNamespaceCharacterValid(char arg0)
func_240910_c_(char arg0)
public static boolean
b(String arg0)
isValidResourceLocation(String arg0)
method_20207(String arg0)
isValid(String id)
func_217855_b(String arg0)