Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/27/19 in all areas

  1. This is for checking the block's oredict and destroying it if it is wood. This will allow your giant to work with every type of tree. See this if loop thingy? if (block != Blocks.COMMAND_BLOCK && block != Blocks.REPEATING_COMMAND_BLOCK && block != Blocks.CHAIN_COMMAND_BLOCK && block != Blocks.IRON_BARS && block != Blocks.END_GATEWAY) { flag1 = this.world.setBlockToAir(blockpos) || flag1; } else { flag = true; } Locate it in your code and change the condition to match your need. Personally, I would discourage copying from vanilla in this case, as the code you copied can be rewritten to better fit your needs.
    1 point
  2. @Mod only takes the Mod ID in 1.13.2 All the rest goes in the mods.toml, however to my knowledge clientSideOnly and serverSideOnly have not been carried over, I believe because they were already legacy and essentially deprecated without being marked so.
    1 point
×
×
  • Create New...

Important Information

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