added missing "Ultra" tools & rebalanced them
This commit is contained in:
		
							parent
							
								
									33ec0f816a
								
							
						
					
					
						commit
						60d41ebce7
					
				@ -58,7 +58,12 @@ public class CompressedBlocks
 | 
				
			|||||||
                output.accept(ModBlocks.GRANITE_3X.get());
 | 
					                output.accept(ModBlocks.GRANITE_3X.get());
 | 
				
			||||||
                output.accept(ModBlocks.GRANITE_4X.get());
 | 
					                output.accept(ModBlocks.GRANITE_4X.get());
 | 
				
			||||||
                output.accept(ModBlocks.CBLOCK_MINING.get());
 | 
					                output.accept(ModBlocks.CBLOCK_MINING.get());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                output.accept(Tools.ULTRA_SWORD.get());
 | 
				
			||||||
                output.accept(Tools.ULTRA_PICKAXE.get());
 | 
					                output.accept(Tools.ULTRA_PICKAXE.get());
 | 
				
			||||||
 | 
					                output.accept(Tools.ULTRA_AXE.get());
 | 
				
			||||||
 | 
					                output.accept(Tools.ULTRA_SHOVEL.get());
 | 
				
			||||||
 | 
					                output.accept(Tools.ULTRA_HOE.get());
 | 
				
			||||||
            }).build());
 | 
					            }).build());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public CompressedBlocks()
 | 
					    public CompressedBlocks()
 | 
				
			||||||
 | 
				
			|||||||
@ -19,7 +19,11 @@ public class ModItemModelProvider extends ItemModelProvider {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    protected void registerModels() {
 | 
					    protected void registerModels() {
 | 
				
			||||||
 | 
					        handheldItem(Tools.ULTRA_SWORD);
 | 
				
			||||||
        handheldItem(Tools.ULTRA_PICKAXE);
 | 
					        handheldItem(Tools.ULTRA_PICKAXE);
 | 
				
			||||||
 | 
					        handheldItem(Tools.ULTRA_AXE);
 | 
				
			||||||
 | 
					        handheldItem(Tools.ULTRA_SHOVEL);
 | 
				
			||||||
 | 
					        handheldItem(Tools.ULTRA_HOE);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private ItemModelBuilder saplingItem(RegistryObject<Block> item) {
 | 
					    private ItemModelBuilder saplingItem(RegistryObject<Block> item) {
 | 
				
			||||||
 | 
				
			|||||||
@ -14,7 +14,7 @@ import java.util.List;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
public class ToolTiers {
 | 
					public class ToolTiers {
 | 
				
			||||||
    public static final Tier ULTRA = TierSortingRegistry.registerTier(
 | 
					    public static final Tier ULTRA = TierSortingRegistry.registerTier(
 | 
				
			||||||
            new ForgeTier(5, 2560, 20f, 4f, 25,
 | 
					            new ForgeTier(4, 2560, 12.0f, 5.0f, 25,
 | 
				
			||||||
                    Tags.Blocks.NEEDS_ULTRA_TOOL, () -> Ingredient.of(ModBlocks.CBLOCK_MINING_ITEM.get())),
 | 
					                    Tags.Blocks.NEEDS_ULTRA_TOOL, () -> Ingredient.of(ModBlocks.CBLOCK_MINING_ITEM.get())),
 | 
				
			||||||
            new ResourceLocation(CompressedBlocks.MODID, "ultra"), List.of(Tiers.NETHERITE), List.of()
 | 
					            new ResourceLocation(CompressedBlocks.MODID, "ultra"), List.of(Tiers.NETHERITE), List.of()
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
				
			|||||||
@ -11,9 +11,11 @@ public class Tools {
 | 
				
			|||||||
    public static final DeferredRegister<Item> TOOLS =
 | 
					    public static final DeferredRegister<Item> TOOLS =
 | 
				
			||||||
            DeferredRegister.create(ForgeRegistries.ITEMS, CompressedBlocks.MODID);
 | 
					            DeferredRegister.create(ForgeRegistries.ITEMS, CompressedBlocks.MODID);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public static final RegistryObject<Item> ULTRA_PICKAXE = TOOLS.register("ultra_pickaxe", () -> new PickaxeItem(ToolTiers.ULTRA, 1,  -2.5f, new Item.Properties()));
 | 
					    public static final RegistryObject<Item> ULTRA_SWORD = TOOLS.register("ultra_sword", () -> new SwordItem(ToolTiers.ULTRA, 3,  -2.4f, new Item.Properties().fireResistant()));
 | 
				
			||||||
 | 
					    public static final RegistryObject<Item> ULTRA_PICKAXE = TOOLS.register("ultra_pickaxe", () -> new PickaxeItem(ToolTiers.ULTRA, 1,  -2.8f, new Item.Properties().fireResistant()));
 | 
				
			||||||
 | 
					    public static final RegistryObject<Item> ULTRA_AXE = TOOLS.register("ultra_axe", () -> new AxeItem(ToolTiers.ULTRA, 5.0f,  -2.5f, new Item.Properties().fireResistant()));
 | 
				
			||||||
 | 
					    public static final RegistryObject<Item> ULTRA_SHOVEL = TOOLS.register("ultra_shovel", () -> new ShovelItem(ToolTiers.ULTRA, 1.5f,  -3.0f, new Item.Properties().fireResistant()));
 | 
				
			||||||
 | 
					    public static final RegistryObject<Item> ULTRA_HOE = TOOLS.register("ultra_hoe", () -> new HoeItem(ToolTiers.ULTRA, -4,  0.0f, new Item.Properties().fireResistant()));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public static void register(IEventBus eventBus) {TOOLS.register(eventBus);}
 | 
					    public static void register(IEventBus eventBus) {TOOLS.register(eventBus);}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -16,5 +16,9 @@
 | 
				
			|||||||
  "block.compressedblocks.granite_3x": "Granite³",
 | 
					  "block.compressedblocks.granite_3x": "Granite³",
 | 
				
			||||||
  "block.compressedblocks.granite_4x": "Granite⁴",
 | 
					  "block.compressedblocks.granite_4x": "Granite⁴",
 | 
				
			||||||
  "block.compressedblocks.cblock_mining": "Mining Block",
 | 
					  "block.compressedblocks.cblock_mining": "Mining Block",
 | 
				
			||||||
  "item.compressedblocks.ultra_pickaxe": "Ultra Pickaxe"
 | 
					  "item.compressedblocks.ultra_sword": "Ultra Sword",
 | 
				
			||||||
 | 
					  "item.compressedblocks.ultra_pickaxe": "Ultra Pickaxe",
 | 
				
			||||||
 | 
					  "item.compressedblocks.ultra_axe": "Ultra Axe",
 | 
				
			||||||
 | 
					  "item.compressedblocks.ultra_shovel": "Ultra Shovel",
 | 
				
			||||||
 | 
					  "item.compressedblocks.ultra_hoe": "Ultra Hoe"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.2 KiB  | 
@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    "animation": {
 | 
				
			||||||
 | 
					        "frametime": 3,
 | 
				
			||||||
 | 
					        "interpolate": true,
 | 
				
			||||||
 | 
					        "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.0 KiB  | 
@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    "animation": {
 | 
				
			||||||
 | 
					        "frametime": 3,
 | 
				
			||||||
 | 
					        "interpolate": true,
 | 
				
			||||||
 | 
					        "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 907 B After Width: | Height: | Size: 907 B  | 
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.1 KiB  | 
@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    "animation": {
 | 
				
			||||||
 | 
					        "frametime": 3,
 | 
				
			||||||
 | 
					        "interpolate": true,
 | 
				
			||||||
 | 
					        "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.8 KiB  | 
@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    "animation": {
 | 
				
			||||||
 | 
					        "frametime": 3,
 | 
				
			||||||
 | 
					        "interpolate": true,
 | 
				
			||||||
 | 
					        "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user