This commit is contained in:
Connor Colenso committed 2023-10-29 21:18:26 +00:00
1 parent 52e3e7a3f1
commit 036452b944
2 files changed
+15 -9

No files matched your search

+10 -2
View File
@@ -22,13 +22,13 @@ public class Postea {
// BlockReplacementManager.addBlockReplacement(GregTech_API.sBlockOres1, 1018, Blocks.end_stone, 0);
// Define the transformation function
Function<NBTTagCompound, NBTTagCompound> myTransformer = (tag) -> {
/* Function<NBTTagCompound, NBTTagCompound> myTransformer = (tag) -> {
if (tag.getInteger("m") == 86) {
tag.setInteger("m", 323);
return tag;
}
return tag;
};
};*/
//TileEntityReplacementManager.tileEntityFixer("GT_TileEntity_Ores", myTransformer);
TileEntityReplacementManager.tileEntityToNormalBlockTransformer("GT_TileEntity_Ores", (tag) -> {
@@ -38,6 +38,14 @@ public class Postea {
return new ChunkFixerUtility.BlockInfo(Blocks.wool, 1);
});
TileEntityReplacementManager.tileEntityToNormalBlockTransformer("Furnace", (tag) -> {
return new ChunkFixerUtility.BlockInfo(Blocks.planks, 3);
});
TileEntityReplacementManager.tileEntityToNormalBlockTransformer("Chest", (tag) -> {
return new ChunkFixerUtility.BlockInfo(Blocks.coal_block, 0);
});
}
@Mod.EventHandler