Compare commits
4 commits
1.21.1
...
1.0.2-1.20
Author | SHA1 | Date | |
---|---|---|---|
cfa7110bde | |||
99d16627ea | |||
2a7532be2b | |||
b441a39323 |
7 changed files with 16 additions and 21 deletions
|
@ -11,4 +11,5 @@ This is a Fabric-only mod.
|
|||
|
||||
The following Minecraft versions are supported:
|
||||
|
||||
- 1.20.1
|
||||
- 1.21.1
|
||||
|
|
|
@ -38,7 +38,7 @@ processResources {
|
|||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.release = 21
|
||||
it.options.release = 17
|
||||
}
|
||||
|
||||
java {
|
||||
|
@ -47,8 +47,8 @@ java {
|
|||
// If you remove this line, sources will not be generated.
|
||||
withSourcesJar()
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
jar {
|
||||
|
|
|
@ -4,14 +4,14 @@ org.gradle.parallel=true
|
|||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.21.1
|
||||
yarn_mappings=1.21.1+build.3
|
||||
minecraft_version=1.20.1
|
||||
yarn_mappings=1.20.1+build.10
|
||||
loader_version=0.16.5
|
||||
|
||||
# Mod Properties
|
||||
mod_version=1.0.0
|
||||
mod_version=1.0.2
|
||||
maven_group=net.chaoticbyte.hardboiled
|
||||
archives_base_name=hardboiled
|
||||
|
||||
# Dependencies
|
||||
fabric_version=0.104.0+1.21.1
|
||||
fabric_version=0.92.2+1.20.1
|
|
@ -1,6 +1,6 @@
|
|||
package net.chaoticbyte.hardboiled;
|
||||
|
||||
import net.minecraft.component.type.FoodComponent;
|
||||
import net.minecraft.item.FoodComponent;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.registry.Registries;
|
||||
import net.minecraft.registry.Registry;
|
||||
|
@ -9,7 +9,7 @@ import net.minecraft.util.Identifier;
|
|||
public class HardBoiledItems {
|
||||
// default food component
|
||||
public static final FoodComponent foodComponent = new FoodComponent.Builder()
|
||||
.nutrition(3)
|
||||
.hunger(3)
|
||||
.snack()
|
||||
.build();
|
||||
// register item
|
||||
|
|
|
@ -3,9 +3,7 @@
|
|||
"ingredient": {
|
||||
"item": "minecraft:egg"
|
||||
},
|
||||
"result": {
|
||||
"id": "hardboiled:hardboiled_egg"
|
||||
},
|
||||
"result": "hardboiled:hardboiled_egg",
|
||||
"experience": 0.25,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -3,9 +3,7 @@
|
|||
"ingredient": {
|
||||
"item": "minecraft:egg"
|
||||
},
|
||||
"result": {
|
||||
"id": "hardboiled:hardboiled_egg"
|
||||
},
|
||||
"result": "hardboiled:hardboiled_egg",
|
||||
"experience": 0.25,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -21,12 +21,10 @@
|
|||
},
|
||||
"mixins": [],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.16.5",
|
||||
"minecraft": "~1.21.1",
|
||||
"java": ">=21",
|
||||
"fabricloader": ">=0.16.0",
|
||||
"minecraft": "1.20.1",
|
||||
"java": ">=17",
|
||||
"fabric-api": "*"
|
||||
},
|
||||
"suggests": {
|
||||
"another-mod": "*"
|
||||
}
|
||||
"suggests": {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue