Jump to content

Tetawex

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Tetawex

  1. The fix was really simple: In Foudry class in updateBlockState(): Replaced this if (burning) { world.setBlock(x, y, z, AllBlocks.block_foundry_active); } else { world.setBlock(x, y, z, AllBlocks.block_foundry); } With this if (burning&&(!(world.getBlock(x, y, z)==AllBlocks.block_foundry_active))) { world.setBlock(x, y, z, AllBlocks.block_foundry_active); } else if(!burning&&(!(world.getBlock(x, y, z)==AllBlocks.block_foundry))) { world.setBlock(x, y, z, AllBlocks.block_foundry); } There was a lag because on each tick the block was respawned. Now it's gone. P.S. Thanks for help anyway
  2. I've programmed custom furnace. It works okay in-game as long as I dont place several furnaces right next to each other. In this case fps drops from ~500 to ~100(but it feels like~20-30). I have no clue whether this issue is client or server sided. Would appreciate any help. TileEntityFoundry: http://pastebin.com/MQKG2GkK Foundry(block): http://pastebin.com/fjUhfkdt ContainerFoundry: http://pastebin.com/UWq6mqWY
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.