Skip to content

Commit fef163e

Browse files
purejoshpurejosh
purejosh
authored and
purejosh
committed
Initial release.
0 parents  commit fef163e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1457
-0
lines changed

.gitignore

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Gradle build system ignores
2+
.gradle/
3+
build/
4+
5+
# IDE related folders
6+
.idea/
7+
.settings/
8+
*.ipr
9+
*.iml
10+
*.iws
11+
*.code-workspace
12+
.classpath
13+
.project
14+
.vscode/
15+
*.bbproject
16+
17+
# MCreator workspace
18+
.mcreator/
19+
20+
# Minecraft client/server files
21+
run/
22+
23+
# MCreator generator ignores
24+
src/main/resources/assets/*/models/custom
25+
src/main/resources/assets/*/models/item
26+
src/main/resources/assets/*/textures/blocks
27+
src/main/resources/assets/*/textures/items
28+
src/main/resources/assets/*/textures/models/armor
29+
src/main/resources/assets/*/textures/*.png
30+
src/main/resources/assets/*/sounds
31+
32+
# Mac OS Folder Metadata
33+
.DS_Store

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License Revised, No Redistribution (MIT-R-NR)
2+
3+
Copyright (c) 2022 purejosh
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, and merge. This license prohibits anyone other than the
9+
copyright holder(s) to publish, distribute, sublicense, and/or sell
10+
copies of the Software. This license is to permit persons to whom the Software
11+
is furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
THE SOFTWARE.

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# sweetberryfoods
2+
A simple, cleanly designed mod that adds new foods related to the sweet berry, with a focus on maintaining balance and vanilla mechanics.

build.gradle

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
plugins {
2+
id 'fabric-loom' version '0.12-SNAPSHOT'
3+
}
4+
5+
sourceCompatibility = JavaVersion.VERSION_17
6+
targetCompatibility = JavaVersion.VERSION_17
7+
8+
archivesBaseName = 'modid'
9+
version = '1.0.0'
10+
group = 'com.yourname.modid'
11+
12+
dependencies {
13+
minecraft "com.mojang:minecraft:1.19.2"
14+
mappings loom.officialMojangMappings()
15+
modImplementation "net.fabricmc:fabric-loader:0.14.9"
16+
17+
//Fabric api
18+
modImplementation "net.fabricmc.fabric-api:fabric-api:0.59.0+1.19.2"
19+
}
20+
21+
processResources {
22+
inputs.property "version", project.version
23+
24+
filesMatching("fabric.mod.json") {
25+
expand "version": project.version
26+
}
27+
}
28+
29+
tasks.withType(JavaCompile).configureEach {
30+
it.options.encoding = "UTF-8"
31+
32+
def targetVersion = 17
33+
if (JavaVersion.current().isJava9Compatible()) {
34+
it.options.release = targetVersion
35+
}
36+
}
37+
38+
task sourcesJar(type: Jar, dependsOn: classes) {
39+
classifier = "sources"
40+
from sourceSets.main.allSource
41+
}
42+
43+
jar {
44+
from "LICENSE"
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"_fv": 33,
3+
"_type": "recipe",
4+
"definition": {
5+
"recipeType": "Campfire cooking",
6+
"xpReward": 0.0,
7+
"cookingTime": 600,
8+
"recipeRetstackSize": 1,
9+
"group": "sweet_berries",
10+
"recipeShapeless": false,
11+
"campfireCookingInputStack": {
12+
"value": "Items.SWEET_BERRIES"
13+
},
14+
"campfireCookingReturnStack": {
15+
"value": "CUSTOM:CookedSweetBerries"
16+
},
17+
"name": "campfire_cooked_sweet_berries",
18+
"namespace": "mod"
19+
}
20+
}

elements/CookedSweetBerries.mod.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"_fv": 33,
3+
"_type": "item",
4+
"definition": {
5+
"renderType": 0,
6+
"texture": "cookedsweetberries",
7+
"customModelName": "Normal",
8+
"name": "Cooked Sweet Berries",
9+
"rarity": "COMMON",
10+
"creativeTab": {
11+
"value": "FOOD"
12+
},
13+
"stackSize": 64,
14+
"enchantability": 0,
15+
"useDuration": 32,
16+
"toolType": 1.0,
17+
"damageCount": 0,
18+
"recipeRemainder": {
19+
"value": ""
20+
},
21+
"destroyAnyBlock": false,
22+
"immuneToFire": false,
23+
"stayInGridWhenCrafting": false,
24+
"damageOnCrafting": false,
25+
"enableMeleeDamage": false,
26+
"damageVsEntity": 0.0,
27+
"specialInfo": [],
28+
"hasGlow": false,
29+
"guiBoundTo": "<NONE>",
30+
"inventorySize": 9,
31+
"inventoryStackSize": 64,
32+
"isFood": true,
33+
"nutritionalValue": 4,
34+
"saturation": 0.3,
35+
"eatResultItem": {
36+
"value": ""
37+
},
38+
"isMeat": false,
39+
"isAlwaysEdible": false,
40+
"animation": "eat"
41+
}
42+
}
+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"_fv": 33,
3+
"_type": "recipe",
4+
"definition": {
5+
"recipeType": "Crafting",
6+
"xpReward": 0.0,
7+
"cookingTime": 200,
8+
"recipeRetstackSize": 1,
9+
"group": "",
10+
"recipeShapeless": true,
11+
"recipeSlots": [
12+
{
13+
"value": ""
14+
},
15+
{
16+
"value": ""
17+
},
18+
{
19+
"value": ""
20+
},
21+
{
22+
"value": "CUSTOM:CookedSweetBerries"
23+
},
24+
{
25+
"value": "CUSTOM:CookedSweetBerries"
26+
},
27+
{
28+
"value": ""
29+
},
30+
{
31+
"value": "Items.GLASS_BOTTLE"
32+
},
33+
{
34+
"value": "CUSTOM:CookedSweetBerries"
35+
},
36+
{
37+
"value": ""
38+
}
39+
],
40+
"recipeReturnStack": {
41+
"value": "CUSTOM:SweetBerryJuice"
42+
},
43+
"name": "crafting_sweet_berry_jam",
44+
"namespace": "mod"
45+
}
46+
}
+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"_fv": 33,
3+
"_type": "recipe",
4+
"definition": {
5+
"recipeType": "Crafting",
6+
"xpReward": 0.0,
7+
"cookingTime": 200,
8+
"recipeRetstackSize": 4,
9+
"group": "",
10+
"recipeShapeless": false,
11+
"recipeSlots": [
12+
{
13+
"value": "Items.MILK_BUCKET"
14+
},
15+
{
16+
"value": "Items.MILK_BUCKET"
17+
},
18+
{
19+
"value": "Items.MILK_BUCKET"
20+
},
21+
{
22+
"value": "Items.SWEET_BERRIES"
23+
},
24+
{
25+
"value": "Items.EGG"
26+
},
27+
{
28+
"value": "Items.SWEET_BERRIES"
29+
},
30+
{
31+
"value": "Blocks.WHEAT"
32+
},
33+
{
34+
"value": "Blocks.WHEAT"
35+
},
36+
{
37+
"value": "Blocks.WHEAT"
38+
}
39+
],
40+
"recipeReturnStack": {
41+
"value": "CUSTOM:SweetBerryMuffin"
42+
},
43+
"name": "crafting_sweet_berry_muffin",
44+
"namespace": "mod"
45+
}
46+
}
+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"_fv": 33,
3+
"_type": "recipe",
4+
"definition": {
5+
"recipeType": "Crafting",
6+
"xpReward": 0.0,
7+
"cookingTime": 200,
8+
"recipeRetstackSize": 1,
9+
"group": "pie",
10+
"recipeShapeless": true,
11+
"recipeSlots": [
12+
{
13+
"value": ""
14+
},
15+
{
16+
"value": ""
17+
},
18+
{
19+
"value": ""
20+
},
21+
{
22+
"value": "Items.SWEET_BERRIES"
23+
},
24+
{
25+
"value": "Items.SUGAR"
26+
},
27+
{
28+
"value": ""
29+
},
30+
{
31+
"value": ""
32+
},
33+
{
34+
"value": "Items.EGG"
35+
},
36+
{
37+
"value": ""
38+
}
39+
],
40+
"recipeReturnStack": {
41+
"value": "CUSTOM:SweetBerryTart"
42+
},
43+
"name": "crafting_sweet_berry_tart",
44+
"namespace": "mod"
45+
}
46+
}

elements/PumpkinPie.mod.json

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"_fv": 33,
3+
"_type": "recipe",
4+
"definition": {
5+
"recipeType": "Crafting",
6+
"xpReward": 0.0,
7+
"cookingTime": 200,
8+
"recipeRetstackSize": 1,
9+
"group": "pie",
10+
"recipeShapeless": true,
11+
"recipeSlots": [
12+
{
13+
"value": ""
14+
},
15+
{
16+
"value": ""
17+
},
18+
{
19+
"value": ""
20+
},
21+
{
22+
"value": "Blocks.PUMPKIN"
23+
},
24+
{
25+
"value": "Items.SUGAR"
26+
},
27+
{
28+
"value": ""
29+
},
30+
{
31+
"value": ""
32+
},
33+
{
34+
"value": "Items.EGG"
35+
},
36+
{
37+
"value": ""
38+
}
39+
],
40+
"recipeReturnStack": {
41+
"value": "Items.PUMPKIN_PIE"
42+
},
43+
"name": "pumpkin_pie",
44+
"namespace": "minecraft"
45+
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"_fv": 33,
3+
"_type": "recipe",
4+
"definition": {
5+
"recipeType": "Smelting",
6+
"xpReward": 0.1,
7+
"cookingTime": 200,
8+
"recipeRetstackSize": 1,
9+
"group": "sweet_berries",
10+
"recipeShapeless": false,
11+
"smeltingInputStack": {
12+
"value": "Items.SWEET_BERRIES"
13+
},
14+
"smeltingReturnStack": {
15+
"value": "CUSTOM:CookedSweetBerries"
16+
},
17+
"name": "smelting_cooked_sweet_berries",
18+
"namespace": "mod"
19+
}
20+
}

0 commit comments

Comments
 (0)