Changed paxels to ShovelItems *properly
This commit is contained in:
parent
eed83307e7
commit
c5b9d1e4e0
|
|
@ -6,10 +6,7 @@ import net.minecraft.core.registries.BuiltInRegistries;
|
||||||
import net.minecraft.core.registries.Registries;
|
import net.minecraft.core.registries.Registries;
|
||||||
import net.minecraft.resources.ResourceKey;
|
import net.minecraft.resources.ResourceKey;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import net.minecraft.world.item.CreativeModeTabs;
|
import net.minecraft.world.item.*;
|
||||||
import net.minecraft.world.item.Item;
|
|
||||||
import net.minecraft.world.item.Items;
|
|
||||||
import net.minecraft.world.item.ShovelItem;
|
|
||||||
|
|
||||||
public class ModItems {
|
public class ModItems {
|
||||||
public static void init(){
|
public static void init(){
|
||||||
|
|
@ -33,11 +30,11 @@ public class ModItems {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Paxel stats are supplied solely with data, this is just to give them an ID so they're nice and easy to meddle with
|
// Paxel stats are supplied solely with data, this is just to give them an ID so they're nice and easy to meddle with
|
||||||
public static final Item Paxel_Wood = register("wooden_paxel", new ShovelItem.Properties() );
|
public static final Item Paxel_Wood = register("wooden_paxel", new ShovelItem(Tiers.WOOD, new Item.Properties()) );
|
||||||
public static final Item Paxel_Stone = register("stone_paxel", new ShovelItem.Properties() );
|
public static final Item Paxel_Stone = register("stone_paxel", new ShovelItem(Tiers.STONE, new Item.Properties()) );
|
||||||
public static final Item Paxel_Copper = register("copper_paxel", new ShovelItem.Properties() );
|
public static final Item Paxel_Copper = register("copper_paxel", new ShovelItem(Tiers.STONE, new Item.Properties()) );
|
||||||
public static final Item Paxel_Iron = register("iron_paxel", new ShovelItem.Properties() );
|
public static final Item Paxel_Iron = register("iron_paxel", new ShovelItem(Tiers.IRON, new Item.Properties()) );
|
||||||
public static final Item Paxel_Gold = register("golden_paxel", new ShovelItem.Properties() );
|
public static final Item Paxel_Gold = register("golden_paxel", new ShovelItem(Tiers.GOLD, new Item.Properties()) );
|
||||||
public static final Item Paxel_Diamond = register("diamond_paxel", new ShovelItem.Properties() );
|
public static final Item Paxel_Diamond = register("diamond_paxel", new ShovelItem(Tiers.DIAMOND, new Item.Properties()) );
|
||||||
public static final Item Paxel_Dendrite = register("netherite_paxel", new ShovelItem.Properties() ); // Not strictly right in this pack but we're keeping up with naming conventions
|
public static final Item Paxel_Dendrite = register("netherite_paxel", new ShovelItem(Tiers.NETHERITE, new Item.Properties()) ); // Not strictly right in this pack but we're keeping up with naming conventions
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue