mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 20:22:28 +00:00
Added config option to disable Forge's fix of Stair/Slab face culling.
Some vanilla resource packs exploit this issue in their custom models causing unintended rendering issues.
This commit is contained in:
1 parent
4694152124
commit
0f6b16cada
8 files changed
+59
-13
No files matched your search
@@ -1032,4 +1032,10 @@ public class FMLClientHandler implements IFMLSidedHandler
|
||||
// We can't handle many unicode points in the splash renderer
|
||||
return CharMatcher.anyOf(ALLOWED_CHARS).retainFrom(StringUtils.stripControlCodes(message));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reloadRenderers()
|
||||
{
|
||||
this.client.renderGlobal.loadRenderers();
|
||||
}
|
||||
}
|
||||
@@ -742,4 +742,8 @@ public class FMLCommonHandler
|
||||
{
|
||||
return sidedDelegate != null ? sidedDelegate.stripSpecialChars(message) : message;
|
||||
}
|
||||
|
||||
public void reloadRenderers() {
|
||||
sidedDelegate.reloadRenderers();
|
||||
}
|
||||
}
|
||||
@@ -73,4 +73,6 @@ public interface IFMLSidedHandler
|
||||
void processWindowMessages();
|
||||
|
||||
String stripSpecialChars(String message);
|
||||
|
||||
void reloadRenderers();
|
||||
}
|
||||
@@ -328,4 +328,10 @@ public class FMLServerHandler implements IFMLSidedHandler
|
||||
{
|
||||
return message;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reloadRenderers() {
|
||||
// NOOP
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user