mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 23:13:15 +00:00
Added AddPackFindersEvent which lets you add additional resource/data pack sources to the game. Added PathResourcePack as a utility to allow easy providing of a subfolder in a mod as a resource pack.
14 lines
355 B
Diff
14 lines
355 B
Diff
--- a/net/minecraft/server/packs/AbstractPackResources.java
|
|
+++ b/net/minecraft/server/packs/AbstractPackResources.java
|
|
@@ -120,4 +_,10 @@
|
|
public String m_8017_() {
|
|
return this.f_10203_.getName();
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public String toString()
|
|
+ {
|
|
+ return String.format("%s: %s", getClass().getName(), f_10203_.getPath());
|
|
+ }
|
|
}
|