added UltraPickaxe
This commit is contained in:
13 files changed
+197
-3
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package com.jenny.compressedblocks;
|
||||
|
||||
|
||||
import com.jenny.compressedblocks.Tools;
|
||||
import com.mojang.logging.LogUtils;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.resources.model.Material;
|
||||
@@ -103,7 +105,7 @@ public class CompressedBlocks
|
||||
public static final RegistryObject<Block> GRANITE_4X = BLOCKS.register("granite_4x", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.NONE).strength(5.0F, 11.0F).requiresCorrectToolForDrops()));
|
||||
public static final RegistryObject<Item> GRANITE_4X_ITEM = ITEMS.register("granite_4x", () -> new BlockItem(GRANITE_4X.get(), new Item.Properties()));
|
||||
|
||||
/* Combined blocks */
|
||||
/* COMBINED BLOCKS */
|
||||
|
||||
public static final RegistryObject<Block> CBLOCK_MINING = BLOCKS.register("cblock_mining", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.NONE).strength(5.0F, 11.0F).requiresCorrectToolForDrops()));
|
||||
public static final RegistryObject<Item> CBLOCK_MINING_ITEM = ITEMS.register("cblock_mining", () -> new BlockItem(CBLOCK_MINING.get(), new Item.Properties()));
|
||||
@@ -131,6 +133,7 @@ public class CompressedBlocks
|
||||
output.accept(GRANITE_3X.get());
|
||||
output.accept(GRANITE_4X.get());
|
||||
output.accept(CBLOCK_MINING.get());
|
||||
output.accept(Tools.ULTRA_PICKAXE.get());
|
||||
}).build());
|
||||
|
||||
public CompressedBlocks()
|
||||
@@ -144,6 +147,7 @@ public class CompressedBlocks
|
||||
BLOCKS.register(modEventBus);
|
||||
// Register the Deferred Register to the mod event bus so items get registered
|
||||
ITEMS.register(modEventBus);
|
||||
Tools.register(modEventBus);
|
||||
// Register the Deferred Register to the mod event bus so tabs get registered
|
||||
CREATIVE_MODE_TABS.register(modEventBus);
|
||||
|
||||
|
||||
Reference in new issue
Block a user