Skip to content

Commit

Permalink
MCW 4.0
Browse files Browse the repository at this point in the history
Variant Renderer
  • Loading branch information
MC874 committed Aug 11, 2021
1 parent c63a763 commit 73e6424
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
//MC874
{
"format_version": "1.8.0",
"render_controllers": {
"controller.render.player.first_person": {
"geometry": "Geometry.default",
"materials": [ { "*": "Material.default" } ],
"textures": [ "Texture.default" ],
"part_visibility": [
{ "anime": "!variable.is_first_person" },
{ "*": false },
{ "rightArm": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'map'" },
{ "rightSleeve": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'map'" },
{ "leftArm": "(query.get_equipped_item_name(0, 1) == 'map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" },
{ "leftSleeve": "(query.get_equipped_item_name(0, 1) == 'map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" }
]
},
"controller.render.player.third_person": {
"geometry": "Geometry.default",
"materials": [ { "*": "Material.default" } ],
"textures": [ "Texture.default" ],
"part_visibility": [
{ "anime": "!variable.is_first_person" },
{ "*": true },
{ "helmet": "variable.helmet_layer_visible" },
{ "leftLegging": "variable.leg_layer_visible" },
{ "rightLegging": "variable.leg_layer_visible" },
{ "leftBoot": "variable.boot_layer_visible" },
{ "rightBoot": "variable.boot_layer_visible" },
{ "leftSock": "variable.boot_layer_visible && variable.leg_layer_visible" },
{ "rightSock": "variable.boot_layer_visible && variable.leg_layer_visible" },
{ "bodyArmor": "variable.chest_layer_visible && !query.has_cape" },
{ "leftArmArmor": "variable.chest_layer_visible && !query.has_cape" },
{ "rightArmArmor": "variable.chest_layer_visible && !query.has_cape" },
{ "belt": "variable.chest_layer_visible && variable.leg_layer_visible" }
]
},
"controller.render.player.map": {
"geometry": "Geometry.default",
"materials": [ { "*": "Material.default" } ],
"textures": [ "Texture.default" ],
"part_visibility": [
{ "*": false },
{ "head": true },
{ "hat": true },
{ "helmet": true }
]
}
}
}
//MC874
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//MC874
{
"format_version": "1.8.0",
"render_controllers": {
"controller.render.var_anime": {
"geometry": "Geometry.anime",
"materials": [ { "*": "Material.anime" } ],
"textures": [ "Texture.anime" ]
}
}
}
//MC874

0 comments on commit 73e6424

Please sign in to comment.