1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-25 09:49:20 +00:00
Files
GeyserOptionalPack/entity/arrow.entity.json
Kas-tle 90ba61cb20 Work around Minecraft Directory/Texture Duplicate Name Bug (#22)
* Update .gitignore

* Prepend entity to texture paths

* Update .gitignore

* Bump version
2021-07-02 11:21:57 -04:00

32 lines
854 B
JSON

{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:arrow",
"materials": {
"default": "arrow"
},
"textures": {
"default": "textures/entity/arrows",
"spectral": "textures/geyser/entity/arrow/spectral_arrow"
},
"geometry": {
"default": "geometry.arrow"
},
"animations": {
"move": "animation.arrow.move"
},
"scripts": {
"pre_animation": [
"variable.shake = query.shake_time - query.frame_alpha;",
"variable.shake_power = variable.shake > 0.0 ? -Math.sin(variable.shake * 200.0) * variable.shake : 0.0;"
],
"animate": [
"move"
]
},
"render_controllers": [ "controller.render.arrow" ]
}
}
}