| Modifier and Type | Field and Description |
|---|---|
| private final @NotNull String | |
| public static final ResourceLocation | |
| private final @NotNull String | |
| private final @NotNull Class | |
| private final @NotNull String |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public @NotNull String | |
| public @NotNull String | |
| public @NotNull String | |
| public @NotNull String | |
| public @NotNull Class | |
| public @NotNull InputStream | |
| public static @NotNull InputStream | |
| public @NotNull String | |
| public @NotNull String | |
| public static @NotNull String | |
| public int | |
| public boolean | |
| public static @NotNull ResourceLocation | |
| public static @NotNull ResourceLocation | |
| public static @NotNull ResourceLocation | |
| public String | |
| public @NotNull ResourceLocation | |
| public @NotNull ResourceLocation | |
| public @NotNull ResourceLocation | |
| public @NotNull ResourceLocation |
| fileUrl | back to summary |
|---|---|
| private final @NotNull String fileUrl
| |
| NULL | back to summary |
|---|---|
| public static final ResourceLocation NULL | |
| resolvedResourcePath | back to summary |
|---|---|
| private final @NotNull String resolvedResourcePath
| |
| resourceClass | back to summary |
|---|---|
| private final @NotNull Class<?> resourceClass
| |
| resourcePath | back to summary |
|---|---|
| private final @NotNull String resourcePath
| |
| ResourceLocation | back to summary |
|---|---|
| public ResourceLocation(@NotNull Class<?> resourceClass, @NotNull String resourcePath, @NotNull String fileUrl) | |
| ResourceLocation | back to summary |
|---|---|
| private ResourceLocation(@NotNull Class<?> resourceClass, @NotNull String resourcePath, @NotNull String fileUrl, @NotNull String resolvedResourcePath) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getFileDirectoryUrl | back to summary |
|---|---|
public @NotNull String getFileDirectoryUrl()
| |
| getFileUrl | back to summary |
|---|---|
public @NotNull String getFileUrl()
| |
| getFileUrl | back to summary |
|---|---|
public @NotNull String getFileUrl(int lineNumber)
| |
| getResolvedResourcePath | back to summary |
|---|---|
public @NotNull String getResolvedResourcePath()
| |
| getResourceClass | back to summary |
|---|---|
public @NotNull Class
| |
| getResourceInputStream | back to summary |
|---|---|
public @NotNull InputStream getResourceInputStream()
| |
| getResourceInputStream | back to summary |
|---|---|
public static @NotNull InputStream getResourceInputStream(@NotNull ResourceLocation location)
| |
| getResourcePath | back to summary |
|---|---|
public @NotNull String getResourcePath()
| |
| getResourceText | back to summary |
|---|---|
public @NotNull String getResourceText()
| |
| getResourceText | back to summary |
|---|---|
public static @NotNull String getResourceText(@NotNull ResourceLocation location)
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isNull | back to summary |
|---|---|
| public boolean isNull() | |
| of | back to summary |
|---|---|
public static @NotNull ResourceLocation of(@NotNull String resourcePath)
| |
| of | back to summary |
|---|---|
public static @NotNull ResourceLocation of(@NotNull Class<?> resourceClass, @NotNull String resourcePath)
| |
| of | back to summary |
|---|---|
public static @NotNull ResourceLocation of(@NotNull Class<?> resourceClass, @NotNull String resourcePath, @NotNull String fileUrl)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| withFileUrl | back to summary |
|---|---|
public @NotNull ResourceLocation withFileUrl(@NotNull String fileUrl)
| |
| withResolvedResourcePath | back to summary |
|---|---|
public @NotNull ResourceLocation withResolvedResourcePath(@NotNull String resolvedResourcePath)
| |
| withResourceClass | back to summary |
|---|---|
public @NotNull ResourceLocation withResourceClass(@NotNull Class<?> resourceClass)
| |
| withResourcePath | back to summary |
|---|---|
public @NotNull ResourceLocation withResourcePath(@NotNull String resourcePath)
| |