mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Added proper icons for the base routes and creative tabs within unicopia
This commit is contained in:
parent
640c5ab7e1
commit
3d9c910f1b
19 changed files with 63 additions and 9 deletions
|
@ -127,6 +127,13 @@ public interface UItems {
|
||||||
GlassesItem SUNGLASSES = register("sunglasses", new GlassesItem(new FabricItemSettings().maxCount(1)), ItemGroups.COMBAT);
|
GlassesItem SUNGLASSES = register("sunglasses", new GlassesItem(new FabricItemSettings().maxCount(1)), ItemGroups.COMBAT);
|
||||||
GlassesItem BROKEN_SUNGLASSES = register("broken_sunglasses", new GlassesItem(new FabricItemSettings().maxCount(1)), ItemGroups.COMBAT);
|
GlassesItem BROKEN_SUNGLASSES = register("broken_sunglasses", new GlassesItem(new FabricItemSettings().maxCount(1)), ItemGroups.COMBAT);
|
||||||
|
|
||||||
|
Item ALICORN_BADGE = register(Race.ALICORN);
|
||||||
|
Item PEGASUS_BADGE = register(Race.PEGASUS);
|
||||||
|
Item UNICORN_BADGE = register(Race.UNICORN);
|
||||||
|
Item EARTH_BADGE = register(Race.EARTH);
|
||||||
|
Item BAT_BADGE = register(Race.BAT);
|
||||||
|
Item CHANGELING_BADGE = register(Race.CHANGELING);
|
||||||
|
|
||||||
static <T extends Item> T register(String name, T item, ItemGroup group) {
|
static <T extends Item> T register(String name, T item, ItemGroup group) {
|
||||||
return ItemGroupRegistry.register(register(name, item), group);
|
return ItemGroupRegistry.register(register(name, item), group);
|
||||||
}
|
}
|
||||||
|
@ -151,6 +158,10 @@ public interface UItems {
|
||||||
) {}, ItemGroups.TOOLS);
|
) {}, ItemGroups.TOOLS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static Item register(Race race) {
|
||||||
|
return register(race.getId().withPath(p -> p + "_badge"), new Item(new Settings()));
|
||||||
|
}
|
||||||
|
|
||||||
static void bootstrap() {
|
static void bootstrap() {
|
||||||
AppleItem.registerTickCallback(Items.APPLE);
|
AppleItem.registerTickCallback(Items.APPLE);
|
||||||
FuelRegistry.INSTANCE.add(WOODEN_POLEARM, 200);
|
FuelRegistry.INSTANCE.add(WOODEN_POLEARM, 200);
|
||||||
|
|
|
@ -20,11 +20,11 @@ public interface UItemGroups {
|
||||||
.filter(item -> ((ToxicHolder)item).getToxic(item.getDefaultStack()) != Toxic.EMPTY);
|
.filter(item -> ((ToxicHolder)item).getToxic(item.getDefaultStack()) != Toxic.EMPTY);
|
||||||
});
|
});
|
||||||
|
|
||||||
ItemGroup EARTH_PONY_ITEMS = ItemGroupRegistry.createGroupFromTag("earth_pony", UItems.APPLE_PIE::getDefaultStack);
|
ItemGroup EARTH_PONY_ITEMS = ItemGroupRegistry.createGroupFromTag("earth_pony", UItems.EARTH_BADGE::getDefaultStack);
|
||||||
ItemGroup UNICORN_ITEMS = ItemGroupRegistry.createGroupFromTag("unicorn", UItems.SPELLBOOK::getDefaultStack);
|
ItemGroup UNICORN_ITEMS = ItemGroupRegistry.createGroupFromTag("unicorn", UItems.UNICORN_BADGE::getDefaultStack);
|
||||||
ItemGroup PEGASUS_ITEMS = ItemGroupRegistry.createGroupFromTag("pegasus", UItems.PEGASUS_FEATHER::getDefaultStack);
|
ItemGroup PEGASUS_ITEMS = ItemGroupRegistry.createGroupFromTag("pegasus", UItems.PEGASUS_BADGE::getDefaultStack);
|
||||||
ItemGroup BAT_PONY_ITEMS = ItemGroupRegistry.createGroupFromTag("bat_pony", UItems.SUNGLASSES::getDefaultStack);
|
ItemGroup BAT_PONY_ITEMS = ItemGroupRegistry.createGroupFromTag("bat_pony", UItems.BAT_BADGE::getDefaultStack);
|
||||||
ItemGroup CHANGELING_ITEMS = ItemGroupRegistry.createGroupFromTag("changeling", UItems.LOVE_BOTTLE::getDefaultStack);
|
ItemGroup CHANGELING_ITEMS = ItemGroupRegistry.createGroupFromTag("changeling", UItems.CHANGELING_BADGE::getDefaultStack);
|
||||||
|
|
||||||
static void bootstrap() {
|
static void bootstrap() {
|
||||||
ItemGroupRegistry.bootstrap();
|
ItemGroupRegistry.bootstrap();
|
||||||
|
|
|
@ -26,6 +26,13 @@
|
||||||
"item.unicopia.spellbook": "Spellbook",
|
"item.unicopia.spellbook": "Spellbook",
|
||||||
"emi.category.unicopia.spellbook": "Spellbook",
|
"emi.category.unicopia.spellbook": "Spellbook",
|
||||||
|
|
||||||
|
"item.unicopia.alicorn_badge": "Alicorn Emblem",
|
||||||
|
"item.unicopia.unicorn_badge": "Unicorn Emblem",
|
||||||
|
"item.unicopia.pegasus_badge": "Pegasus Emblem",
|
||||||
|
"item.unicopia.earth_badge": "Earth Pony Emblem",
|
||||||
|
"item.unicopia.changeling_badge": "Changeling Emblem",
|
||||||
|
"item.unicopia.bat_badge": "Bat Pony Emblem",
|
||||||
|
|
||||||
"item.unicopia.butterfly_spawn_egg": "Butterfly Spawn Egg",
|
"item.unicopia.butterfly_spawn_egg": "Butterfly Spawn Egg",
|
||||||
"item.unicopia.butterfly": "Butterfly",
|
"item.unicopia.butterfly": "Butterfly",
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "unicopia:item/alicorn_badge"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "unicopia:item/bat_badge"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "unicopia:item/changeling_badge"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "unicopia:item/earth_badge"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "unicopia:item/pegasus_badge"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "unicopia:item/unicorn_badge"
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
src/main/resources/assets/unicopia/textures/item/bat_badge.png
Normal file
BIN
src/main/resources/assets/unicopia/textures/item/bat_badge.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
src/main/resources/assets/unicopia/textures/item/earth_badge.png
Normal file
BIN
src/main/resources/assets/unicopia/textures/item/earth_badge.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
|
@ -2,7 +2,7 @@
|
||||||
"parent": "unicopia:unicopia/root",
|
"parent": "unicopia:unicopia/root",
|
||||||
"display": {
|
"display": {
|
||||||
"icon": {
|
"icon": {
|
||||||
"item": "minecraft:black_candle"
|
"item": "unicopia:bat_badge"
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"translate": "advancements.unicopia.night_route.title"
|
"translate": "advancements.unicopia.night_route.title"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"parent": "unicopia:unicopia/root",
|
"parent": "unicopia:unicopia/root",
|
||||||
"display": {
|
"display": {
|
||||||
"icon": {
|
"icon": {
|
||||||
"item": "minecraft:apple"
|
"item": "unicopia:earth_badge"
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"translate": "advancements.unicopia.earth_route.title"
|
"translate": "advancements.unicopia.earth_route.title"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"parent": "unicopia:unicopia/root",
|
"parent": "unicopia:unicopia/root",
|
||||||
"display": {
|
"display": {
|
||||||
"icon": {
|
"icon": {
|
||||||
"item": "unicopia:pegasus_feather"
|
"item": "unicopia:pegasus_badge"
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"translate": "advancements.unicopia.sky_route.title"
|
"translate": "advancements.unicopia.sky_route.title"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"display": {
|
"display": {
|
||||||
"icon": {
|
"icon": {
|
||||||
"item": "unicopia:gryphon_feather"
|
"item": "unicopia:alicorn_badge"
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"translate": "advancements.unicopia.root.title"
|
"translate": "advancements.unicopia.root.title"
|
||||||
|
|
Loading…
Reference in a new issue