Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion gm4/modeldata_registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@
},
"elytra": {
"gm4_end_fishing:gui/advancement/end_fishing_phantom": 1,
"gm4_horsemanship:item/horse_wings": 2,
"gm4_end_fishing:item/captains_wings": 10,
"gm4_end_fishing:item/ravaged_wings": 11,
"gm4_metallurgy:shamir/moneo": 113,
Expand Down Expand Up @@ -514,6 +515,10 @@
"experience_bottle": {
"standard_liquids:gui/advancement/standard_liquids": 1
},
"feather": {
"gm4_horsemanship:item/horse_wings": 2,
"gm4_horsemanship:item/horse_winged": 3
},
"firework_rocket": {
"gm4_phantom_scarecrows:gui/advancement/phantom_scarecrows": 1
},
Expand Down Expand Up @@ -1355,6 +1360,7 @@
},
"poisonous_potato": {
"gm4_chairs:gui/advancement/chairs_sit": 1,
"gm4_horsemanship:item/horse_wings": 2,
"gm4_heart_canisters:gui/advancement/heart_canisters_tier_1": 4,
"gm4_heart_canisters:gui/advancement/heart_canisters_tier_2": 5,
"gm4_heart_canisters:gui/advancement/heart_canisters_max": 6,
Expand Down Expand Up @@ -1455,7 +1461,8 @@
},
"saddle": {
"gm4_pig_tractors:gui/advancement/pig_tractors": 1,
"gm4_chairs:guidebook_icon/chairs": 2
"gm4_chairs:guidebook_icon/chairs": 2,
"gm4_horsemanship:guidebook_icon/horsemanship": 3
},
"salmon_bucket": {
"gm4_metallurgy:shamir/infinitas": 100
Expand Down
3 changes: 2 additions & 1 deletion gm4_guidebook/triggers.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"__important__": "Generated by generate_guidebooks.py. Don't manually update this",
"__next__": 122,
"__next__": 123,
"animi_shamir": 91,
"apple_trees": 83,
"arborenda_shamir": 20,
Expand Down Expand Up @@ -50,6 +50,7 @@
"heart_canisters": 15,
"helious_shamir": 69,
"holographic_tags": 94,
"horsemanship": 122,
"hypexperia_shamir": 17,
"iacio_shamir": 88,
"icy_strays": 102,
Expand Down
10 changes: 10 additions & 0 deletions gm4_horsemanship/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Horsemanship<!--$headerTitle--><!--$pmc:delete-->

Level up your Horses as you use them! Adds level-ups, stamina mechanics, additional foods and more!<!--$pmc:headerSize-->

<img src="images/horsemanship.png" alt="Horse in flight" height="350"/> <!--$localAssetToURL--> <!--$modrinth:replaceWithVideo--> <!--$pmc:delete-->

### Features
- Horses will grow stronger with use, while keeping breeding mechanics.
- New item crafted with Horse Armor and Elytra to allow your horse to fly!
- Allow horses to graze grass and add a variety of new food items you can feed them.
9 changes: 9 additions & 0 deletions gm4_horsemanship/assets/gm4_horsemanship/equipment/wings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"layers": {
"horse_body": [
{
"texture": "gm4_horsemanship:wings"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "gm4_horsemanship:item/horse_winged"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "gm4_horsemanship:item/horse_wings"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"format_version": "1.21.6",
"textures": {
"0": "gm4_horsemanship:item/horse_winged",
"particle": "gm4_horsemanship:item/horse_winged"
},
"elements": [
{
"from": [2.40317, -5.58211, 8],
"to": [18.40317, 10.41789, 8],
"rotation": {"angle": 22.5, "axis": "z", "origin": [3, 3, 8]},
"faces": {
"north": {"uv": [16, 16, 0, 0], "texture": "#0"},
"east": {"uv": [0, 0, 0, 16], "texture": "#missing"},
"south": {"uv": [0, 16, 16, 0], "texture": "#0"},
"west": {"uv": [0, 0, 0, 16], "texture": "#missing"},
"up": {"uv": [16, 0, 0, 0], "texture": "#missing"},
"down": {"uv": [16, 0, 0, 0], "texture": "#missing"}
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [0, 3, 1],
"scale": [0.55, 0.55, 0.55]
},
"thirdperson_lefthand": {
"translation": [0, 3, 1],
"scale": [0.55, 0.55, 0.55]
},
"firstperson_righthand": {
"rotation": [0, -90, 25],
"translation": [1.13, 3.2, 1.13],
"scale": [0.68, 0.68, 0.68]
},
"firstperson_lefthand": {
"rotation": [0, -90, 25],
"translation": [1.13, 3.2, 1.13],
"scale": [0.68, 0.68, 0.68]
},
"ground": {
"translation": [0, 2, 0],
"scale": [0.5, 0.5, 0.5]
},
"head": {
"rotation": [0, -180, 0],
"translation": [0, 13, 7]
},
"fixed": {
"rotation": [0, -180, 0]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "gm4_horsemanship:item/horse_wings"
}
}
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.
7 changes: 7 additions & 0 deletions gm4_horsemanship/assets/model_data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
model_data:
- item: elytra
reference: item/horse_wings
template: custom
- item: feather
reference: item/horse_winged
template: custom
2 changes: 2 additions & 0 deletions gm4_horsemanship/assets/translations.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
key,en_us
gm4.horsemanship.item.horse_wings,Pegasuit
30 changes: 30 additions & 0 deletions gm4_horsemanship/beet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
id: gm4_horsemanship
name: Horsemanship
version: 1.0.X

resource_pack:
load: .
data_pack:
load: .

pipeline:
- gm4.plugins.extend.module
- gm4.plugins.include.lib_forceload

meta:
gm4:
versioning:
required:
lib_forceload: 1.1.0
schedule_loops:
- main
- tick
website:
description: Form a bond with your horses
recommended: []
notes: []
video: null
wiki: https://wiki.gm4.co/wiki/Horsemanship
credits:
Creator:
- Thanathor
179 changes: 179 additions & 0 deletions gm4_horsemanship/data/gm4_horsemanship/advancement/feed_horse.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
{
"criteria": {
"apple": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"item": {
"items": [
"minecraft:apple"
]
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#gm4_horsemanship:trainable",
"nbt": "{Tags:[\"gm4_horse\"]}"
}
}
]
}
},
"golden_apple": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"item": {
"items": [
"minecraft:golden_apple"
]
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#gm4_horsemanship:trainable",
"nbt": "{Tags:[\"gm4_horse\"]}"
}
}
]
}
},
"carrot": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"item": {
"items": [
"minecraft:carrot"
]
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#gm4_horsemanship:trainable",
"nbt": "{Tags:[\"gm4_horse\"]}"
}
}
]
}
},
"enchanted_golden_apple": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"item": {
"items": [
"minecraft:enchanted_golden_apple"
]
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#gm4_horsemanship:trainable",
"nbt": "{Tags:[\"gm4_horse\"]}"
}
}
]
}
},
"golden_carrot": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"item": {
"items": [
"minecraft:golden_carrot"
]
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#gm4_horsemanship:trainable",
"nbt": "{Tags:[\"gm4_horse\"]}"
}
}
]
}
},
"sugar": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"item": {
"items": [
"minecraft:sugar"
]
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#gm4_horsemanship:trainable",
"nbt": "{Tags:[\"gm4_horse\"]}"
}
}
]
}
},
"wheat": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"item": {
"items": [
"minecraft:wheat"
]
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#gm4_horsemanship:trainable",
"nbt": "{Tags:[\"gm4_horse\"]}"
}
}
]
}
},
"hay_block": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"item": {
"items": [
"minecraft:hay_block"
]
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#gm4_horsemanship:trainable",
"nbt": "{Tags:[\"gm4_horse\"]}"
}
}
]
}
}
},
"requirements": [
[
"apple",
"golden_apple",
"carrot",
"enchanted_golden_apple",
"golden_carrot",
"sugar",
"wheat",
"hay_block"
]
],
"rewards": {
"function": "gm4_horsemanship:horse_processing/food/feed_original_food"
}
}
Loading
Loading