Compare commits
3 commits
4cbee5b2dd
...
e8f22b8313
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8f22b8313 | ||
|
|
a0f6195a0a | ||
|
|
62e1820a82 |
|
|
@ -12,7 +12,7 @@ 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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "mc_rebalance:item/copper_nugget"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "mc_rebalance:item/diamond_paxel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "mc_rebalance:item/golden_paxel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "mc_rebalance:item/iron_paxel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "mc_rebalance:item/netherite_paxel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "mc_rebalance:item/stone_paxel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "mc_rebalance:item/wooden_paxel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 138 B |
|
After Width: | Height: | Size: 360 B |
|
After Width: | Height: | Size: 351 B |
|
After Width: | Height: | Size: 366 B |
|
After Width: | Height: | Size: 376 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 371 B |