Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/04/17 in all areas

  1. Use World#setBlockState to replace the IBlockState at the specified BlockPos with another. Use World#setBlockToAir to replace the IBlockState at the specified BlockPos with air (this just calls World#setBlockState). Use Block#getDefaultState to get the default IBlockState of a Block and IBlockState#withProperty to get an IBlockState with the IProperty set to the specified value. Forge has an introduction to block states here. You can call World#sendBlockBreakProgress to render the block breaking cracks on a block. If called from the logical client, it will update the break progress for that position. If called from the logical server, it will send a packet to all players within 32 blocks of the position (except the one whose entity ID was passed as the first argument) that calls the same method on their client.
    2 points
  2. http://lmgtfy.com/?q=basic+object+oriented+programming+concepts
    1 point
×
×
  • Create New...

Important Information

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