fix converter torches

This commit is contained in:
Sen 2025-06-29 21:43:41 +02:00
parent 5357dde0e3
commit 2a0e6c3cf7
Signed by: sen
GPG key ID: 3AC50A6F47D1B722

View file

@ -83,6 +83,7 @@ import common.block.tech.BlockRedstoneRepeater;
import common.block.tech.BlockRedstoneTorch;
import common.block.tech.BlockRedstoneWire;
import common.block.tech.BlockTNT;
import common.block.tech.BlockTorch;
import common.block.tech.BlockTripWire;
import common.block.tech.BlockTripWireHook;
import common.block.tech.BlockWarpChest;
@ -659,7 +660,11 @@ public abstract class Converter {
mapBlock(Blocks.bookshelf, 47);
mapBlock(Blocks.mossy_cobblestone, 48);
mapBlock(Blocks.obsidian, 49);
mapBlock(Blocks.torch, 50);
mapBlock(Blocks.torch.getState().withProperty(BlockTorch.FACING, Facing.UP), 50);
mapBlock(Blocks.torch.getState().withProperty(BlockTorch.FACING, Facing.EAST), 50, 1);
mapBlock(Blocks.torch.getState().withProperty(BlockTorch.FACING, Facing.WEST), 50, 2);
mapBlock(Blocks.torch.getState().withProperty(BlockTorch.FACING, Facing.SOUTH), 50, 3);
mapBlock(Blocks.torch.getState().withProperty(BlockTorch.FACING, Facing.NORTH), 50, 4);
mapBlock(new BlockFunction() {
public State getState(int id, int data) {
return Blocks.fire.getState().withProperty(BlockFire.AGE, data);