Compare commits

...

3 commits

Author SHA1 Message Date
Sergeant Acoustic e8f22b8313 Add copper nugget
Also move paxels to relevant parts of the creative inventory
2026-01-29 22:09:45 +00:00
Sergeant Acoustic a0f6195a0a Bump version to 2.0.0 2026-01-29 22:07:37 +00:00
Sergeant Acoustic 62e1820a82 Import mod assets from datapack 2026-01-29 22:06:50 +00:00
17 changed files with 64 additions and 10 deletions

View file

@ -12,9 +12,9 @@ loader_version=0.18.4
loom_version=1.15-SNAPSHOT loom_version=1.15-SNAPSHOT
# Mod Properties # Mod Properties
mod_version=1.0.0 mod_version=2.0.0
maven_group=xyz.nearmisses.patience.mc_rebalance maven_group=xyz.nearmisses.patience.mc_rebalance
archives_base_name=mc_rebalance archives_base_name=mc_rebalance
# Dependencies # Dependencies
fabric_api_version=0.116.8+1.21.1 fabric_api_version=0.116.8+1.21.1

View file

@ -8,16 +8,19 @@ 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.CreativeModeTabs;
import net.minecraft.world.item.Item; import net.minecraft.world.item.Item;
import net.minecraft.world.item.Items;
public class ModItems { public class ModItems {
public static void init(){ public static void init(){
// Add paxels to creative tabs // Add items to creative tabs
ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.accept(ModItems.Paxel_Wood)); ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.addAfter(Items.WOODEN_HOE, ModItems.Paxel_Wood));
ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.accept(ModItems.Paxel_Copper)); ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.addAfter(Items.STONE_HOE, ModItems.Paxel_Copper));
ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.accept(ModItems.Paxel_Iron)); ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.addAfter(Items.IRON_HOE, ModItems.Paxel_Iron));
ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.accept(ModItems.Paxel_Gold)); ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.addAfter(Items.GOLDEN_HOE, ModItems.Paxel_Gold));
ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.accept(ModItems.Paxel_Diamond)); ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.addAfter(Items.DIAMOND_HOE, ModItems.Paxel_Diamond));
ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.accept(ModItems.Paxel_Dendrite)); ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.addAfter(Items.NETHERITE_HOE, ModItems.Paxel_Dendrite));
ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.INGREDIENTS).register((itemGroup) -> itemGroup.addAfter(Items.COPPER_INGOT, ModItems.Copper_Nugget));
} }
public static Item register(String id, Item.Properties item) { public static Item register(String id, Item.Properties item) {
@ -35,4 +38,6 @@ public class ModItems {
public static final Item Paxel_Gold = register("golden_paxel", new Item.Properties() ); public static final Item Paxel_Gold = register("golden_paxel", new Item.Properties() );
public static final Item Paxel_Diamond = register("diamond_paxel", new Item.Properties() ); public static final Item Paxel_Diamond = register("diamond_paxel", new Item.Properties() );
public static final Item Paxel_Dendrite = register("netherite_paxel", new Item.Properties() ); // As with copper public static final Item Paxel_Dendrite = register("netherite_paxel", new Item.Properties() ); // As with copper
public static final Item Copper_Nugget = register("copper_nugget", new Item.Properties());
} }

View file

@ -6,5 +6,12 @@
"advancements.end.thanks_sarge.title":"Proof of Thanks", "advancements.end.thanks_sarge.title":"Proof of Thanks",
"advancements.end.thanks_sarge.description":"Earn a developer item for your hard work", "advancements.end.thanks_sarge.description":"Earn a developer item for your hard work",
"advancements.nether.thanks_emerald.title":"Thank You and Farewell", "advancements.nether.thanks_emerald.title":"Thank You and Farewell",
"advancements.nether.thanks_emerald.description":"Kill the Wither and earn a developer item" "advancements.nether.thanks_emerald.description":"Kill the Wither and earn a developer item",
"item.mc_rebalance.wooden_paxel": "Wooden Paxel",
"item.mc_rebalance.stone_paxel": "Copper Paxel",
"item.mc_rebalance.iron_paxel": "Iron Paxel",
"item.mc_rebalance.golden_paxel": "Golden Paxel",
"item.mc_rebalance.diamond_paxel": "Diamond Paxel",
"item.mc_rebalance.netherite_paxel": "Dendrite Paxel",
"item.mc_rebalance.copper_nugget": "Copper Nugget"
} }

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "mc_rebalance:item/copper_nugget"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "mc_rebalance:item/diamond_paxel"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "mc_rebalance:item/golden_paxel"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "mc_rebalance:item/iron_paxel"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "mc_rebalance:item/netherite_paxel"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "mc_rebalance:item/stone_paxel"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "mc_rebalance:item/wooden_paxel"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B