Jump to content

Adidadi99

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Adidadi99

  1. I want to create a light block but the setLightLevel command doesn't work! public static final RegistryObject<Block> LIGHTBLOCK = registerBlock("lightblock", () -> new Block(AbstractBlock.Properties.create(Material.REDSTONE_LIGHT).hardnessAndResistance(1f, 3f).setLightLevel())); // ^^
  2. Oh... thanks.😁
  3. How? Code please.
  4. I'm looking for a way to change this block. Code: @Override public void onBlockClicked(BlockState state, World worldIn, BlockPos pos, PlayerEntity player) { //Here I want to change the block super.onBlockClicked(state, worldIn, pos, player); }
×
×
  • Create New...

Important Information

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