mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-06 07:46:08 +00:00
Allow disabling paletted hunks
This commit is contained in:
@@ -399,6 +399,17 @@ public class B {
|
||||
public static BlockData getOrNull(String bdxf) {
|
||||
try {
|
||||
String bd = bdxf.trim();
|
||||
|
||||
if(bd.startsWith("minecraft:cauldron[level="))
|
||||
{
|
||||
bd = bd.replaceAll("\\Q:cauldron[\\E", ":water_cauldron[");
|
||||
}
|
||||
|
||||
if(bd.equals("minecraft:grass_path"))
|
||||
{
|
||||
return DIRT_PATH.createBlockData();
|
||||
}
|
||||
|
||||
BlockData bdx = parseBlockData(bd);
|
||||
|
||||
if (bdx == null) {
|
||||
|
||||
Reference in New Issue
Block a user