Compare commits

..

No commits in common. "60d41ebce71f9d62de156051f26e0874623af598" and "fcf282bd4615715afedc82d4e0d5688e8b8347a2" have entirely different histories.

18 changed files with 7 additions and 55 deletions

View File

@ -3,7 +3,6 @@ plugins {
id 'idea'
id 'maven-publish'
id 'net.minecraftforge.gradle' version '[6.0,6.2)'
id 'org.parchmentmc.librarian.forgegradle' version '1.+'
}
version = mod_version
@ -31,7 +30,7 @@ minecraft {
//
// Use non-default mappings at your own risk. They may not always work.
// Simply re-run your setup task after changing the mappings to update your workspace.
mappings channel: "parchment", version: "2023.09.03-1.20.1"
mappings channel: mapping_channel, version: mapping_version
// When true, this property will have all Eclipse/IntelliJ IDEA run configurations run the "prepareX" task for the given run configuration before launching the game.
// In most cases, it is not necessary to enable.

View File

@ -5,7 +5,6 @@ pluginManagement {
name = 'MinecraftForge'
url = 'https://maven.minecraftforge.net/'
}
maven { url = 'https://maven.parchmentmc.org' }
}
}

View File

@ -58,12 +58,7 @@ public class CompressedBlocks
output.accept(ModBlocks.GRANITE_3X.get());
output.accept(ModBlocks.GRANITE_4X.get());
output.accept(ModBlocks.CBLOCK_MINING.get());
output.accept(Tools.ULTRA_SWORD.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());
public CompressedBlocks()

View File

@ -19,11 +19,7 @@ public class ModItemModelProvider extends ItemModelProvider {
@Override
protected void registerModels() {
handheldItem(Tools.ULTRA_SWORD);
handheldItem(Tools.ULTRA_PICKAXE);
handheldItem(Tools.ULTRA_AXE);
handheldItem(Tools.ULTRA_SHOVEL);
handheldItem(Tools.ULTRA_HOE);
}
private ItemModelBuilder saplingItem(RegistryObject<Block> item) {

View File

@ -14,7 +14,7 @@ import java.util.List;
public class ToolTiers {
public static final Tier ULTRA = TierSortingRegistry.registerTier(
new ForgeTier(4, 2560, 12.0f, 5.0f, 25,
new ForgeTier(5, 2560, 20f, 4f, 25,
Tags.Blocks.NEEDS_ULTRA_TOOL, () -> Ingredient.of(ModBlocks.CBLOCK_MINING_ITEM.get())),
new ResourceLocation(CompressedBlocks.MODID, "ultra"), List.of(Tiers.NETHERITE), List.of()
);

View File

@ -11,11 +11,9 @@ public class Tools {
public static final DeferredRegister<Item> TOOLS =
DeferredRegister.create(ForgeRegistries.ITEMS, CompressedBlocks.MODID);
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 final RegistryObject<Item> ULTRA_PICKAXE = TOOLS.register("ultra_pickaxe", () -> new PickaxeItem(ToolTiers.ULTRA, 1, -2.5f, new Item.Properties()));
public static void register(IEventBus eventBus) {TOOLS.register(eventBus);}
}

View File

@ -16,9 +16,5 @@
"block.compressedblocks.granite_3x": "Granite³",
"block.compressedblocks.granite_4x": "Granite⁴",
"block.compressedblocks.cblock_mining": "Mining Block",
"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"
"item.compressedblocks.ultra_pickaxe": "Ultra Pickaxe"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,7 +0,0 @@
{
"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: 1.0 KiB

View File

@ -1,7 +0,0 @@
{
"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.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,7 +0,0 @@
{
"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: 1.8 KiB

View File

@ -1,7 +0,0 @@
{
"animation": {
"frametime": 3,
"interpolate": true,
"frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
}
}

View File

@ -1,6 +1,3 @@
#!/bin/bash
for file in "$1"/*.png; do
echo "$file"
magick "$file" -transparent "#00ff00" "$file"
done
magick "$1" -transparent "#00ff00" "$1"

Binary file not shown.