Fix import statements in ModBlocks.java to use correct package paths
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
package xyz.sillyangel.nugget.block;
|
package xyz.sillyangel.nugget.block;
|
||||||
|
|
||||||
import net.sillyangel.nugget.NuggetMod;
|
import xyz.sillyangel.nugget.NuggetMod;
|
||||||
import net.sillyangel.nugget.item.ModItems;
|
import xyz.sillyangel.nugget.item.ModItems;
|
||||||
import net.minecraft.world.item.BlockItem;
|
import net.minecraft.world.item.BlockItem;
|
||||||
import net.minecraft.world.item.Item;
|
import net.minecraft.world.item.Item;
|
||||||
import net.minecraft.world.level.block.Block;
|
import net.minecraft.world.level.block.Block;
|
||||||
@@ -26,7 +26,6 @@ public class ModBlocks {
|
|||||||
() -> new Block(BlockBehaviour.Properties.of()
|
() -> new Block(BlockBehaviour.Properties.of()
|
||||||
.strength(3f).requiresCorrectToolForDrops()));
|
.strength(3f).requiresCorrectToolForDrops()));
|
||||||
|
|
||||||
|
|
||||||
private static <T extends Block> RegistryObject<T> registerBlock(String name, Supplier<T> block) {
|
private static <T extends Block> RegistryObject<T> registerBlock(String name, Supplier<T> block) {
|
||||||
RegistryObject<T> toReturn = BLOCKS.register(name, block);
|
RegistryObject<T> toReturn = BLOCKS.register(name, block);
|
||||||
registerBlockItem(name, toReturn);
|
registerBlockItem(name, toReturn);
|
||||||
|
|||||||
Reference in New Issue
Block a user