mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 13:09:59 +00:00
1 parent
fcb596ea1e
commit
80d9beedc9
1 file changed
-20
@@ -1,20 +0,0 @@
|
||||
--- ../src-base/minecraft/net/minecraft/item/ItemRecord.java
|
||||
+++ ../src-work/minecraft/net/minecraft/item/ItemRecord.java
|
||||
@@ -65,6 +65,17 @@
|
||||
p_77624_3_.add(this.func_150927_i());
|
||||
}
|
||||
|
||||
+ /**
|
||||
+ * Retrieves the resource location of the sound to play for this record.
|
||||
+ *
|
||||
+ * @param name The name of the record to play
|
||||
+ * @return The resource location for the audio, null to use default.
|
||||
+ */
|
||||
+ public net.minecraft.util.ResourceLocation getRecordResource(String name)
|
||||
+ {
|
||||
+ return new net.minecraft.util.ResourceLocation(name);
|
||||
+ }
|
||||
+
|
||||
@SideOnly(Side.CLIENT)
|
||||
public String func_150927_i()
|
||||
{
|
||||
Reference in new issue
Block a user