Added cloud lumps

This commit is contained in:
Sollace 2023-11-02 21:41:56 +00:00
parent 33375097fe
commit bd05c21f36
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
14 changed files with 83 additions and 23 deletions

View file

@ -203,6 +203,7 @@ public interface UItems {
Item CARAPACE = register("carapace", new Item(new Item.Settings()), ItemGroups.INGREDIENTS); Item CARAPACE = register("carapace", new Item(new Item.Settings()), ItemGroups.INGREDIENTS);
Item CLOTH_BED = register("cloth_bed", new FancyBedItem(UBlocks.CLOTH_BED, new Item.Settings().maxCount(1)), ItemGroups.FUNCTIONAL); Item CLOTH_BED = register("cloth_bed", new FancyBedItem(UBlocks.CLOTH_BED, new Item.Settings().maxCount(1)), ItemGroups.FUNCTIONAL);
Item CLOUD_BED = register("cloud_bed", new CloudBedItem(UBlocks.CLOUD_BED, new Item.Settings().maxCount(1)), ItemGroups.FUNCTIONAL); Item CLOUD_BED = register("cloud_bed", new CloudBedItem(UBlocks.CLOUD_BED, new Item.Settings().maxCount(1)), ItemGroups.FUNCTIONAL);
Item CLOUD_LUMP = register("cloud_lump", new Item(new Item.Settings()), ItemGroups.NATURAL);
Item ALICORN_BADGE = register(Race.ALICORN); Item ALICORN_BADGE = register(Race.ALICORN);
Item PEGASUS_BADGE = register(Race.PEGASUS); Item PEGASUS_BADGE = register(Race.PEGASUS);

View file

@ -176,6 +176,7 @@
"item.unicopia.music_disc_funk": "Music Disc", "item.unicopia.music_disc_funk": "Music Disc",
"item.unicopia.music_disc_funk.desc": "funk, just funk", "item.unicopia.music_disc_funk.desc": "funk, just funk",
"item.unicopia.cloud_lump": "Cloud Lump",
"item.unicopia.light_gray_bed_sheets": "Light Gray Bed Sheets", "item.unicopia.light_gray_bed_sheets": "Light Gray Bed Sheets",
"item.unicopia.gray_bed_sheets": "Gray Bed Sheets", "item.unicopia.gray_bed_sheets": "Gray Bed Sheets",
"item.unicopia.black_bed_sheets": "Black Bed Sheets", "item.unicopia.black_bed_sheets": "Black Bed Sheets",

View file

@ -1,6 +1,6 @@
{ {
"parent": "item/generated", "parent": "item/generated",
"textures": { "textures": {
"layer0": "unicopia:item/orange_bed_sheets" "layer0": "unicopia:item/black_bed_sheets"
} }
} }

View file

@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "unicopia:item/cloud_lump"
}
}

View file

@ -7,7 +7,14 @@
"entries": [ "entries": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:cloud" "name": "unicopia:cloud_lump",
"functions": [
{
"add": false,
"count": 4,
"function": "minecraft:set_count"
}
]
} }
], ],
"conditions": [ "conditions": [

View file

@ -7,12 +7,26 @@
"entries": [ "entries": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:cloud", "name": "unicopia:cloud_lump",
"functions": [ "functions": [
{ {
"add": false, "add": false,
"count": 3, "count": 2,
"function": "minecraft:set_count" "function": "minecraft:set_count"
},
{
"add": false,
"count": 4,
"function": "minecraft:set_count",
"conditions": [
{
"block": "unicopia:cloud_slab",
"condition": "minecraft:block_state_property",
"properties": {
"type": "double"
}
}
]
} }
] ]
} }

View file

@ -7,7 +7,7 @@
"entries": [ "entries": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:cloud", "name": "unicopia:cloud_lump",
"functions": [ "functions": [
{ {
"add": false, "add": false,

View file

@ -7,7 +7,14 @@
"entries": [ "entries": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:cloud" "name": "unicopia:cloud_lump",
"functions": [
{
"add": false,
"count": 4,
"function": "minecraft:set_count"
}
]
} }
], ],
"conditions": [ "conditions": [

View file

@ -7,7 +7,14 @@
"entries": [ "entries": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:cloud" "name": "unicopia:cloud_lump",
"functions": [
{
"add": false,
"count": 9,
"function": "minecraft:set_count"
}
]
} }
], ],
"conditions": [ "conditions": [

View file

@ -7,12 +7,26 @@
"entries": [ "entries": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:dense_cloud", "name": "unicopia:cloud_lump",
"functions": [ "functions": [
{ {
"add": false, "add": false,
"count": 3, "count": 4,
"function": "minecraft:set_count" "function": "minecraft:set_count"
},
{
"add": false,
"count": 8,
"function": "minecraft:set_count",
"conditions": [
{
"block": "unicopia:dense_cloud_slab",
"condition": "minecraft:block_state_property",
"properties": {
"type": "double"
}
}
]
} }
] ]
} }

View file

@ -7,11 +7,11 @@
"entries": [ "entries": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:dense_cloud", "name": "unicopia:cloud_lump",
"functions": [ "functions": [
{ {
"add": false, "add": false,
"count": 6, "count": 13,
"function": "minecraft:set_count" "function": "minecraft:set_count"
} }
] ]

View file

@ -0,0 +1,13 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"##",
"##"
],
"key": {
"#": [
{ "item": "unicopia:cloud_lump" }
]
},
"result": { "item": "unicopia:cloud", "count": 1 }
}

View file

@ -1,6 +1,7 @@
{ {
"replace": false, "replace": false,
"values": [ "values": [
"unicopia:cloud_lump",
"unicopia:cloud", "unicopia:cloud",
"unicopia:cloud_planks", "unicopia:cloud_planks",
"unicopia:cloud_bricks", "unicopia:cloud_bricks",

View file

@ -1,18 +1,7 @@
{ {
"replace": false, "replace": false,
"values": [ "values": [
"unicopia:cloud", "#unicopia:clouds",
"unicopia:cloud_slab",
"unicopia:cloud_stairs",
"unicopia:cloud_planks",
"unicopia:cloud_plank_slab",
"unicopia:cloud_plank_stairs",
"unicopia:dense_cloud",
"unicopia:dense_cloud_slab",
"unicopia:dense_cloud_stairs",
"unicopia:unstable_cloud",
"unicopia:cloud_pillar",
"unicopia:cloud_bed",
"#unicopia:bed_sheets", "#unicopia:bed_sheets",
"#unicopia:food_types/raw_fish", "#unicopia:food_types/raw_fish",
"#unicopia:food_types/cooked_fish", "#unicopia:food_types/cooked_fish",