Jump to content

Midbin

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Midbin

  1. As stated in the title the world.setBlockState() does not work for me with my custom Block. Here is a code extract: IBlockState crafting_table_state = Blocks.crafting_table.getDefaultState(); MyCustomBlock c = new MyCustomBlock(); IBlockState my_custom_block_state = c.getDefaultState(); world.setBlockState(new BlockPos(1, 128, 1), my_custom_block_state); world.setBlockState(new BlockPos(2, 128, 1), crafting_table_state); When I look at the Point (1, 128, 1), I can see the Crafting Table, but not my Custom Block. I have already checked, that the IBlockState.getBlock() returns a MyCustomBlock. When I place my Block from my Inventory it Renders normal. Has somebody an idea how I could find the error?
×
×
  • Create New...

Important Information

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