Skip to content

Commit

Permalink
apparently BlockBehaviour.Properties#copy doesn't copy noLootTable(),…
Browse files Browse the repository at this point in the history
… so we need to fix that
  • Loading branch information
IchHabeHunger54 committed May 16, 2024
1 parent f68c1ee commit 576254d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public interface AMBlocks {
RegistryObject<BlackAuremBlock> BLACK_AUREM = BLOCKS.register("black_aurem", BlackAuremBlock::new);
RegistryObject<WizardsChalkBlock> WIZARDS_CHALK = BLOCKS.register("wizards_chalk", WizardsChalkBlock::new);
RegistryObject<SpellRuneBlock> SPELL_RUNE = BLOCKS.register("spell_rune", SpellRuneBlock::new);
RegistryObject<AirBlock> SPELL_LIGHT = BLOCKS.register("spell_light", () -> new AirBlock(BlockBehaviour.Properties.copy(Blocks.AIR).noOcclusion().lightLevel($ -> 15)));
RegistryObject<AirBlock> SPELL_LIGHT = BLOCKS.register("spell_light", () -> new AirBlock(BlockBehaviour.Properties.copy(Blocks.AIR).noLootTable().lightLevel($ -> 15)));
RegistryObject<Block> CHIMERITE_ORE = BLOCKS.register("chimerite_ore", () -> new Block(BlockBehaviour.Properties.of().requiresCorrectToolForDrops().strength(3F, 3F)));
RegistryObject<Block> DEEPSLATE_CHIMERITE_ORE = BLOCKS.register("deepslate_chimerite_ore", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.DEEPSLATE).requiresCorrectToolForDrops().strength(4.5F, 3F).sound(SoundType.DEEPSLATE)));
RegistryObject<Block> CHIMERITE_BLOCK = BLOCKS.register("chimerite_block", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_PINK).requiresCorrectToolForDrops().strength(3F, 3F)));
Expand Down

0 comments on commit 576254d

Please sign in to comment.