Skip to content

Commit

Permalink
* Updated to 1.20.1
Browse files Browse the repository at this point in the history
* Added a resource override example
  • Loading branch information
SigmundGranaas committed Jan 30, 2024
1 parent 6f4cc2e commit 5599ef2
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 6 deletions.
11 changes: 6 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.19.2
yarn_mappings=1.19.2+build.1
loader_version=0.14.11
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
loader_version=0.15.6


# Mod Properties
mod_version = 1.0.0
maven_group = com.example
archives_base_name = forgero-example-mod

# Dependencies
fabric_version=0.67.0+1.19.2
forgero_version=0.11.7+1.19.2-21-gfcbfa6cc-SNAPSHOT
fabric_version=0.91.0+1.20.1
forgero_version=0.11.11+1.20.1-4-g78cc7c2c-SNAPSHOT
24 changes: 24 additions & 0 deletions src/main/resources/data/forgero/resource_override/oak.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "oak",
"namespace": "minecraft",
"priority": 6,
"properties": {
"attributes": [
{
"id": "forgero-new-attribute-durability",
"type": "DURABILITY",
"context": "COMPOSITE",
"value": 100
},
{
"id": "wood-attack_damage-composite",
"type": "ATTACK_DAMAGE",
"value": 5,
"context": "COMPOSITE",
"order": "BASE",
"operation": "ADDITION",
"priority": 5
}
]
}
}
34 changes: 34 additions & 0 deletions src/main/resources/data/forgero/resource_override/wood_base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "wood_base",
"namespace": "minecraft",
"priority": 6,
"properties": {
"attributes": [
{
"id": "wood-attack_damage-composite",
"type": "ATTACK_DAMAGE",
"value": 10,
"context": "COMPOSITE",
"order": "BASE",
"operation": "ADDITION",
"priority": 1
}
],
"features": [
{
"type": "minecraft:block_breaking",
"selector": {
"type": "forgero:single"
},
"speed": "forgero:instant",
"predicate": {
"type": "forgero:random",
"seed": ["world_time", "block_pos"],
"value": 0.5
},
"title": "feature.forgero.random_insta_break.title",
"description": "feature.forgero.random_insta_break.description"
}
]
}
}
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"depends": {
"fabricloader": ">=0.12.12",
"minecraft": "~1.19.2",
"minecraft": "~1.20.1",
"java": ">=17"
},
"suggests": {
Expand Down

0 comments on commit 5599ef2

Please sign in to comment.