mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 18:49:06 +00:00
Allow outside access of direct write for nbt blocks
This commit is contained in:
@@ -82,7 +82,7 @@ public class DirectWorldWriter {
|
||||
return new File(worldFolder, "iris/mca-region/r." + x + "." + z + ".mca");
|
||||
}
|
||||
|
||||
public BlockData getBlockData(CompoundTag tag) {
|
||||
public static BlockData getBlockData(CompoundTag tag) {
|
||||
if (tag == null)
|
||||
{
|
||||
return B.getAir();
|
||||
@@ -114,7 +114,7 @@ public class DirectWorldWriter {
|
||||
return b;
|
||||
}
|
||||
|
||||
public CompoundTag getCompound(BlockData blockData)
|
||||
public static CompoundTag getCompound(BlockData blockData)
|
||||
{
|
||||
String data = blockData.getAsString(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user