mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 13:36:18 +00:00
a3b394c507
Initial layout
87 lines
1.6 KiB
JSON
87 lines
1.6 KiB
JSON
{
|
|
"format_version" : "1.10.0",
|
|
"animation_controllers" : {
|
|
"controller.animation.ocelot.baby" : {
|
|
"initial_state" : "baby",
|
|
"states" : {
|
|
"baby" : {
|
|
"animations" : [
|
|
{
|
|
"baby_transform" : "query.is_baby"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.ocelot.look_at_target" : {
|
|
"initial_state" : "default",
|
|
"states" : {
|
|
"default" : {
|
|
"animations" : [ "look_at_target" ]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.ocelot.move" : {
|
|
"initial_state" : "sitting",
|
|
"states" : {
|
|
"sitting" : {
|
|
"animations" : [ "sit" ],
|
|
"transitions" : [
|
|
{
|
|
"sneaking" : "variable.state == 0"
|
|
},
|
|
{
|
|
"sprinting" : "variable.state == 1"
|
|
},
|
|
{
|
|
"walking" : "variable.state == 3"
|
|
}
|
|
]
|
|
},
|
|
"sneaking" : {
|
|
"animations" : [ "sneak" ],
|
|
"transitions" : [
|
|
{
|
|
"sprinting" : "variable.state == 1"
|
|
},
|
|
{
|
|
"sitting" : "variable.state == 2"
|
|
},
|
|
{
|
|
"walking" : "variable.state == 3"
|
|
}
|
|
]
|
|
},
|
|
"sprinting" : {
|
|
"animations" : [ "sprint" ],
|
|
"transitions" : [
|
|
{
|
|
"sneaking" : "variable.state == 0"
|
|
},
|
|
{
|
|
"sitting" : "variable.state == 2"
|
|
},
|
|
{
|
|
"walking" : "variable.state == 3"
|
|
}
|
|
]
|
|
},
|
|
"walking" : {
|
|
"animations" : [ "walk" ],
|
|
"transitions" : [
|
|
{
|
|
"sneaking" : "variable.state == 0"
|
|
},
|
|
{
|
|
"sprinting" : "variable.state == 1"
|
|
},
|
|
{
|
|
"sitting" : "variable.state == 2"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|