mappings
This commit is contained in:
1 parent
0a21c4fa21
commit
c61429099a
24 files changed
+54
-54
No files matched your search
@@ -56,7 +56,7 @@ public class CarpetProfiler
|
||||
private static String getSectionString(World world, String section)
|
||||
{
|
||||
return String.format("%s.%s%s",
|
||||
world.method_27983().getValue().toString().replaceFirst("minecraft:", ""),
|
||||
world.getRegistryKey().getValue().toString().replaceFirst("minecraft:", ""),
|
||||
section, // ^ getDImension getId
|
||||
world.isClient ? " (Client)" : "");
|
||||
}
|
||||
@@ -64,7 +64,7 @@ public class CarpetProfiler
|
||||
private static String getEntityString(World world, Entity e)
|
||||
{
|
||||
return String.format("%s.%s%s",
|
||||
world.method_27983().getValue().toString().replaceFirst("minecraft:", ""),
|
||||
world.getRegistryKey().getValue().toString().replaceFirst("minecraft:", ""),
|
||||
Registry.ENTITY_TYPE.getId(e.getType()).toString().replaceFirst("minecraft:", ""),
|
||||
world.isClient ? " (Client)" : "");
|
||||
}
|
||||
@@ -72,7 +72,7 @@ public class CarpetProfiler
|
||||
private static String getTEntityString(World world, BlockEntity be)
|
||||
{
|
||||
return String.format("%s.%s%s",
|
||||
world.method_27983().getValue().toString().replaceFirst("minecraft:", ""),
|
||||
world.getRegistryKey().getValue().toString().replaceFirst("minecraft:", ""),
|
||||
Registry.BLOCK_ENTITY_TYPE.getId(be.getType()).toString().replaceFirst("minecraft:", ""),
|
||||
world.isClient ? " (Client)" : "");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user