Skip to content

Commit

Permalink
🐛 Fix equipment layers being a list
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Nov 22, 2024
1 parent f43188d commit d5d943c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions java/assets/equipment.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ dispatch minecraft:resource[equipment] to struct Equipment {
}

struct Layers {
humanoid: Layer<#[id(registry="texture",path="entity/equipment/humanoid/")] string>,
humanoid_leggings: Layer<#[id(registry="texture",path="entity/equipment/humanoid_leggings/")] string>,
wings: WingsLayer<#[id(registry="texture",path="entity/equipment/wings/")] string>,
wolf_body: Layer<#[id(registry="texture",path="entity/equipment/wolf_body/")] string>,
horse_body: Layer<#[id(registry="texture",path="entity/equipment/horse_body/")] string>,
llama_body: Layer<#[id(registry="texture",path="entity/equipment/llama_body/")] string>,
humanoid: [Layer<#[id(registry="texture",path="entity/equipment/humanoid/")] string>],
humanoid_leggings: [Layer<#[id(registry="texture",path="entity/equipment/humanoid_leggings/")] string>],
wings: [WingsLayer<#[id(registry="texture",path="entity/equipment/wings/")] string>],
wolf_body: [Layer<#[id(registry="texture",path="entity/equipment/wolf_body/")] string>],
horse_body: [Layer<#[id(registry="texture",path="entity/equipment/horse_body/")] string>],
llama_body: [Layer<#[id(registry="texture",path="entity/equipment/llama_body/")] string>],
}

type Layer<T> = struct {
Expand Down

0 comments on commit d5d943c

Please sign in to comment.