From 576254d17b4c450f2aa6ef83deaca4cd407ea22c Mon Sep 17 00:00:00 2001 From: IchHabeHunger54 Date: Thu, 16 May 2024 16:17:10 +0200 Subject: [PATCH] apparently BlockBehaviour.Properties#copy doesn't copy noLootTable(), so we need to fix that --- .../arsmagicalegacy/common/init/AMBlocks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/minecraftschurlimods/arsmagicalegacy/common/init/AMBlocks.java b/src/main/java/com/github/minecraftschurlimods/arsmagicalegacy/common/init/AMBlocks.java index a0ad92651..a7d73d927 100644 --- a/src/main/java/com/github/minecraftschurlimods/arsmagicalegacy/common/init/AMBlocks.java +++ b/src/main/java/com/github/minecraftschurlimods/arsmagicalegacy/common/init/AMBlocks.java @@ -74,7 +74,7 @@ public interface AMBlocks { RegistryObject BLACK_AUREM = BLOCKS.register("black_aurem", BlackAuremBlock::new); RegistryObject WIZARDS_CHALK = BLOCKS.register("wizards_chalk", WizardsChalkBlock::new); RegistryObject SPELL_RUNE = BLOCKS.register("spell_rune", SpellRuneBlock::new); - RegistryObject SPELL_LIGHT = BLOCKS.register("spell_light", () -> new AirBlock(BlockBehaviour.Properties.copy(Blocks.AIR).noOcclusion().lightLevel($ -> 15))); + RegistryObject SPELL_LIGHT = BLOCKS.register("spell_light", () -> new AirBlock(BlockBehaviour.Properties.copy(Blocks.AIR).noLootTable().lightLevel($ -> 15))); RegistryObject CHIMERITE_ORE = BLOCKS.register("chimerite_ore", () -> new Block(BlockBehaviour.Properties.of().requiresCorrectToolForDrops().strength(3F, 3F))); RegistryObject 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 CHIMERITE_BLOCK = BLOCKS.register("chimerite_block", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_PINK).requiresCorrectToolForDrops().strength(3F, 3F)));