Skip to content

Commit

Permalink
update salt texture
Browse files Browse the repository at this point in the history
added salt bag
  • Loading branch information
MEGATREX4 committed Jun 23, 2024
1 parent 504db30 commit 65916da
Show file tree
Hide file tree
Showing 23 changed files with 51 additions and 3 deletions.
Binary file modified projectfiles/salt.aseprite
Binary file not shown.
Binary file added projectfiles/varenyk2.aseprite
Binary file not shown.
Binary file added projectfiles/Гірок.aseprite
Binary file not shown.
Binary file added projectfiles/борщі.aseprite
Binary file not shown.
Binary file added projectfiles/цілий гірок.aseprite
Binary file not shown.
Binary file added projectfiles/ящик гірок.aseprite
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ public class ModBlock {
public static final Block SALT_BLOCK = registerBlock("salt_block",
new Block(FabricBlockSettings.copyOf(Blocks.STONE).sounds(BlockSoundGroup.STONE)));

public static final Block SALT_BAG = registerBlock("salt_bag",
new Block(FabricBlockSettings.copyOf(Blocks.WHITE_WOOL).sounds(BlockSoundGroup.WOOL)));

public static final Block CUCUMBER_CRATE = registerBlock("cucumber_crate",
new Block(FabricBlockSettings.copyOf(Blocks.OAK_PLANKS).sounds(BlockSoundGroup.WOOD)));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class ModItemGroups {
.displayName(Text.translatable("itemgroup.ingredients_ukrainian_delight"))
.icon(() -> new ItemStack(ModItems.CUCUMBER))
.entries((displayContext, entries) -> {
entries.add(ModBlock.SALT_BAG);
entries.add(ModBlock.SALT_BLOCK);
entries.add(ModItems.SALT);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ukrainian_delight:block/salt_bag"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

"_comment6": "blocks",
"block.ukrainian_delight.salt_block": "Salt Block",
"block.ukrainian_delight.salt_bag": "Salt Bag",

"_comment7": "advancements",
"ukrainian_delight.advancement.root": "Ukrainian Delight",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

"_comment6": "blocks",
"block.ukrainian_delight.salt_block": "Солевий блок",
"block.ukrainian_delight.salt_bag": "Мішок солі",

"_comment7": "advancements",
"ukrainian_delight.advancement.root": "Українська насолода",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parent": "minecraft:block/cube",
"textures": {
"particle": "ukrainian_delight:block/salt_bag_top",
"down": "ukrainian_delight:block/bag_bottom",
"up": "ukrainian_delight:block/salt_bag_top",
"north": "ukrainian_delight:block/bag_side_tied",
"south": "ukrainian_delight:block/bag_side_tied",
"east": "ukrainian_delight:block/bag_side",
"west": "ukrainian_delight:block/bag_side"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "ukrainian_delight:block/salt_bag"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/assets/ukrainian_delight/textures/item/salt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "pool1",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "ukrainian_delight:salt_bag"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"category": "misc",
"cookingtime": 200,
"experience": 0.1,
"group": "copper_ingot",
"group": "apple_slice",
"ingredient": {
"item": "ukrainian_delight:apple_slice"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
}
},
"result": {
"item": "ukrainian_delight:salt_block"
"item": "ukrainian_delight:salt_bag"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"category": "building",
"ingredients": [
{
"item": "ukrainian_delight:salt_block"
"item": "ukrainian_delight:salt_bag"
}
],
"result": {
Expand Down

0 comments on commit 65916da

Please sign in to comment.