Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/20/19 in all areas

  1. Forge 1.13+ requires Java 8-10, you're using 11
    1 point
  2. Please read the EAQ and provide the appropriate log(s): https://www.minecraftforge.net/forum/topic/20-rules-and-eaq-read-first-or-you-will-get-banned/
    1 point
  3. Don't tell ppl "do your research before posting here" as the README.txt file that comes with the MDK of Forge 1.13.2 25.0.9 and 25.0.10 says to use setupDecomWorkspace its obvious that the README.txt file was not updated but you don't have to be a dick.
    1 point
  4. Hey everyone, So, as a test, I'm trying to make a basic block emit light, which I've named BlockTorch. I've registered the item, and all models are working, and all other bloc properties set work. But the this.setLightLevel doesn't seem to be working. When I place the block, no light is emitted. Here is my class code: public class BlockTorch extends BlockBase { public BlockTorch(String name, Material materialIn) { super(name, materialIn); this.setHardness(2); this.setHarvestLevel("axe", 0); this.setSoundType(SoundType.WOOD); this.setLightLevel(15); } @Override public boolean isOpaqueCube(IBlockState state) { return false; } @Override public boolean causesSuffocation(IBlockState state) { return false; } }
    1 point
  5. Item#setLightLevel takes a float between 0.0F and 1.0F, instead of going from 0 to 15. If you want to have the max light level, you use 1.0F.
    1 point
×
×
  • Create New...

Important Information

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