mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Added butterfly as a food item
This commit is contained in:
parent
cd97867678
commit
46d18af8d6
6 changed files with 35 additions and 1 deletions
|
@ -75,6 +75,7 @@ public interface UItems {
|
|||
Item GOLDEN_WING = register("golden_wing", new Item(new Item.Settings().rarity(Rarity.UNCOMMON).group(ItemGroup.MATERIALS)));
|
||||
|
||||
Item BUTTERFLY_SPAWN_EGG = register("butterfly_spawn_egg", new SpawnEggItem(UEntities.BUTTERFLY, 0x222200, 0xaaeeff, new Item.Settings().group(ItemGroup.MISC)));
|
||||
Item BUTTERFLY = register("butterfly", new Item(new Item.Settings().group(ItemGroup.FOOD).food(UFoodComponents.INSECTS)));
|
||||
|
||||
AmuletItem PEGASUS_AMULET = register("pegasus_amulet", new AmuletItem(new FabricItemSettings()
|
||||
.maxCount(1)
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
"item.unicopia.friendship_bracelet.glowing": "Glowing",
|
||||
|
||||
"item.unicopia.butterfly_spawn_egg": "Butterfly Spawn Egg",
|
||||
"item.unicopia.butterfly": "Butterfly",
|
||||
|
||||
"item.unicopia.green_apple": "Granny Smith Apple",
|
||||
"item.unicopia.sweet_apple": "Sweet Apple Acres Apple",
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "unicopia:item/mug",
|
||||
"textures": {
|
||||
"layer0": "unicopia:item/butterfly"
|
||||
}
|
||||
}
|
BIN
src/main/resources/assets/unicopia/textures/item/butterfly.png
Normal file
BIN
src/main/resources/assets/unicopia/textures/item/butterfly.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 559 B |
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"type": "minecraft:entity",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"bonus_rolls": 0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:looting_enchant",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "unicopia:butterfly"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
"replace": false,
|
||||
"values": [
|
||||
"minecraft:spider_eye",
|
||||
"unicopia:wheat_worms"
|
||||
"unicopia:wheat_worms",
|
||||
"unicopia:butterfly"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue