-
-
Notifications
You must be signed in to change notification settings - Fork 64
Horsemanship #1138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
TheThanathor
wants to merge
16
commits into
Gamemode4Dev:master
Choose a base branch
from
TheThanathor:horsemanship
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Horsemanship #1138
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1db708c
update old module to 1.21.5
TheThanathor 394b636
add swimming with rider
TheThanathor 8ee5bd7
fix horse breeding, add varying scales
TheThanathor 3a0d1de
update horse training mechanics
TheThanathor b012a43
Merge remote-tracking branch 'upstream/master' into horsemanship
TheThanathor 384d026
add more sounds and particles
TheThanathor 0a193b8
swap carrot to standard foods
TheThanathor 893b9a8
Merge remote-tracking branch 'upstream/master' into horsemanship
TheThanathor 3d70fe5
update and simplify Horsemanship
TheThanathor 5c1b68e
update headers and reorganize folders
TheThanathor df4ca6f
update horse flight
TheThanathor e5e3162
quick wing period fix
TheThanathor 7dbc611
runcow's horse improvements
TheThanathor a6dc52e
add horse wing texture (WIP)
TheThanathor 2d2c06c
fix the wings!
TheThanathor a9a8cbc
oops missing tag
TheThanathor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
9
gm4_horsemanship/assets/gm4_horsemanship/equipment/wings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "layers": { | ||
| "horse_body": [ | ||
| { | ||
| "texture": "gm4_horsemanship:wings" | ||
| } | ||
| ] | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
gm4_horsemanship/assets/gm4_horsemanship/items/horse_winged.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "model": { | ||
| "type": "minecraft:model", | ||
| "model": "gm4_horsemanship:item/horse_winged" | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
gm4_horsemanship/assets/gm4_horsemanship/items/horse_wings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "model": { | ||
| "type": "minecraft:model", | ||
| "model": "gm4_horsemanship:item/horse_wings" | ||
| } | ||
| } |
53 changes: 53 additions & 0 deletions
53
gm4_horsemanship/assets/gm4_horsemanship/models/item/horse_winged.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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] | ||
| } | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
gm4_horsemanship/assets/gm4_horsemanship/models/item/horse_wings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
| } | ||
| } |
Binary file added
BIN
+615 Bytes
...emanship/assets/gm4_horsemanship/textures/entity/equipment/horse_body/wings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+534 Bytes
gm4_horsemanship/assets/gm4_horsemanship/textures/item/horse_winged.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+347 Bytes
gm4_horsemanship/assets/gm4_horsemanship/textures/item/horse_wings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| key,en_us | ||
| gm4.horsemanship.item.horse_wings,Pegasuit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
179
gm4_horsemanship/data/gm4_horsemanship/advancement/feed_horse.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.