Skip to content

Commit 42f177f

Browse files
committed
Added new textures
Added new models Added new items Added new project files
1 parent dfeed3f commit 42f177f

File tree

11 files changed

+5
-1
lines changed

11 files changed

+5
-1
lines changed

projectfiles/holubtsi2.aseprite

506 Bytes
Binary file not shown.
471 Bytes
Binary file not shown.
518 Bytes
Binary file not shown.
513 Bytes
Binary file not shown.

src/main/java/com/megatrex4/ukrainian_dlight/datagen/providers/ModelProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
import java.util.Optional;
1313

14+
import static com.megatrex4.ukrainian_dlight.registry.ItemsRegistry.LOAFBREAD;
1415
import static net.minecraft.data.client.TextureMap.sideTopBottom;
1516

1617
public class ModelProvider extends FabricModelProvider {
@@ -58,5 +59,7 @@ public void generateItemModels(ItemModelGenerator itemModelGenerator) {
5859
ItemsRegistry.KRASHANKY_ITEMS.forEach(item -> itemModelGenerator.register(item, Models.GENERATED));
5960
ItemsRegistry.PYSANKY_ITEMS.forEach(item -> itemModelGenerator.register(item, Models.GENERATED));
6061
itemModelGenerator.register(ItemsRegistry.CUCUMBER_SEEDS, Models.GENERATED);
62+
itemModelGenerator.register(ItemsRegistry.LOAFBREAD, Models.GENERATED);
63+
itemModelGenerator.register(ItemsRegistry.VERHUNY, Models.GENERATED);
6164
}
6265
}

src/main/java/com/megatrex4/ukrainian_dlight/registry/ItemsRegistry.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public class ItemsRegistry {
3838
public static final Item CHERRY_BERRY = registerFoodItem("cherry_berry", createFoodComponent(3, 0.2f), 64, false, true);
3939
public static final Item COTTAGE_CHEESE = registerFoodItem("cottage_cheese", createFoodComponent(3, 0.2f), 64, false, false);
4040
public static final Item SALO = registerFoodItem("salo", createFoodComponent(3, 0.2f), 64, false, false);
41-
41+
public static final Item LOAFBREAD = registerFoodItem("loafbread", createFoodComponent(4, 0.4f), 64, false, false);
42+
public static final Item VERHUNY = registerFoodItem("verhuny", createFoodComponent(1, 0.1f), 64, false, true);
4243

4344
// Simple items without specifying maxCount, defaults to 64
4445
public static final Item SALT = registerItem("salt", new FoodItemBuilder().build());
434 Bytes
Loading
-23 Bytes
Loading
-14 Bytes
Loading
369 Bytes
Loading

0 commit comments

Comments
 (0)