MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / hasResource

Method hasResource

src/main/java/net/minecraft/src/Config.java:778–785  ·  view source on GitHub ↗
(ResourceLocation p_hasResource_0_)

Source from the content-addressed store, hash-verified

776 }
777
778 public static boolean hasResource(ResourceLocation p_hasResource_0_) {
779 if (p_hasResource_0_ == null) {
780 return false;
781 } else {
782 IResourcePack iresourcepack = getDefiningResourcePack(p_hasResource_0_);
783 return iresourcepack != null;
784 }
785 }
786
787 public static boolean hasResource(IResourceManager p_hasResource_0_, ResourceLocation p_hasResource_1_) {
788 try {

Callers 15

isValidMethod · 0.95
getLocationPropertiesMethod · 0.95
getLocationsVariantsMethod · 0.95
initializeMethod · 0.95
loadTextureMethod · 0.95
getCustomColorsMethod · 0.95
getTextureLocationMethod · 0.95
updateMethod · 0.95
registerIconsMethod · 0.95
loadPropertiesMethod · 0.95
registerSpriteMethod · 0.95
getPanoramaFoldersMethod · 0.95

Calls 2

getResourceMethod · 0.65

Tested by

no test coverage detected