Compare commits

..

No commits in common. "e8f22b83131a2af06088a4b8cc1792d1e7f9dfdb" and "4cbee5b2ddc6706467bc08cc57a3cb5eecae6d3c" have entirely different histories.

17 changed files with 10 additions and 64 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=2.0.0 mod_version=1.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,19 +8,16 @@ 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 items to creative tabs // Add paxels to creative tabs
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_Wood));
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_Copper));
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_Iron));
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_Gold));
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_Diamond));
ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.addAfter(Items.NETHERITE_HOE, ModItems.Paxel_Dendrite)); ItemGroupEvents.modifyEntriesEvent(CreativeModeTabs.TOOLS_AND_UTILITIES).register((itemGroup) -> itemGroup.accept(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) {
@ -38,6 +35,4 @@ 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,12 +6,5 @@
"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

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B