idk entity stuff

This commit is contained in:
Pyritie 2025-06-27 00:16:23 +01:00
parent eb5a59e4eb
commit 92351f718a
3 changed files with 188 additions and 0 deletions

View file

@ -0,0 +1,93 @@
{
"format_version": "1.8.0",
"animations": {
"animation.moon_rabbit.female.baby_transform": {
"loop": true,
"bones": {
"earLeft": {
"position": {
"vector": [0, -1, 1]
},
"scale": {
"vector": [1.5, 1.5, 1.5]
}
},
"earRight": {
"position": {
"vector": [0, -1, 1]
},
"scale": {
"vector": [1.5, 1.5, 1.5]
}
},
"head": {
"position": {
"vector": [0, -1, 1]
},
"scale": {
"vector": [1.5, 1.5, 1.5]
}
},
"nose": {
"position": {
"vector": [0, -1, 1]
},
"scale": {
"vector": [1.5, 1.5, 1.5]
}
}
}
},
"animation.moon_rabbit.female.move": {
"loop": true,
"bones": {
"earLeft": {
"rotation": {
"vector": ["query.target_x_rotation - this", "query.target_y_rotation - this + 15.0", 0]
}
},
"earRight": {
"rotation": {
"vector": ["query.target_x_rotation - this", "query.target_y_rotation - this - 15.0", 0]
}
},
"frontLegLeft": {
"rotation": {
"vector": ["variable.jump_rotation * -40.0 - 11.0 - this", 0, 0]
}
},
"frontLegRight": {
"rotation": {
"vector": ["variable.jump_rotation * -40.0 - 11.0 - this", 0, 0]
}
},
"haunchLeft": {
"rotation": {
"vector": ["variable.jump_rotation * 50.0 - 21.0 - this", 0, 0]
}
},
"haunchRight": {
"rotation": {
"vector": ["variable.jump_rotation * 50.0 - 21.0 - this", 0, 0]
}
},
"nose": {
"rotation": {
"vector": ["query.target_x_rotation - this", "query.target_y_rotation - this", 0]
}
},
"rearFootLeft": {
"rotation": {
"vector": ["variable.jump_rotation * 50.0 - this", 0, 0]
}
},
"rearFootRight": {
"rotation": {
"vector": ["variable.jump_rotation * 50.0 - this", 0, 0]
}
}
}
}
},
"geckolib_format_version": 2
}

View file

@ -0,0 +1,93 @@
{
"format_version": "1.8.0",
"animations": {
"entities.moon_rabbit.male.baby_transform": {
"loop": true,
"bones": {
"earLeft": {
"position": {
"vector": [0, -1, 1]
},
"scale": {
"vector": [1.5, 1.5, 1.5]
}
},
"earRight": {
"position": {
"vector": [0, -1, 1]
},
"scale": {
"vector": [1.5, 1.5, 1.5]
}
},
"head": {
"position": {
"vector": [0, -1, 1]
},
"scale": {
"vector": [1.5, 1.5, 1.5]
}
},
"nose": {
"position": {
"vector": [0, -1, 1]
},
"scale": {
"vector": [1.5, 1.5, 1.5]
}
}
}
},
"entities.moon_rabbit.male.move": {
"loop": true,
"bones": {
"earLeft": {
"rotation": {
"vector": ["query.target_x_rotation - this", "query.target_y_rotation - this + 15.0", 0]
}
},
"earRight": {
"rotation": {
"vector": ["query.target_x_rotation - this", "query.target_y_rotation - this - 15.0", 0]
}
},
"frontLegLeft": {
"rotation": {
"vector": ["variable.jump_rotation * -40.0 - 11.0 - this", 0, 0]
}
},
"frontLegRight": {
"rotation": {
"vector": ["variable.jump_rotation * -40.0 - 11.0 - this", 0, 0]
}
},
"haunchLeft": {
"rotation": {
"vector": ["variable.jump_rotation * 50.0 - 21.0 - this", 0, 0]
}
},
"haunchRight": {
"rotation": {
"vector": ["variable.jump_rotation * 50.0 - 21.0 - this", 0, 0]
}
},
"nose": {
"rotation": {
"vector": ["query.target_x_rotation - this", "query.target_y_rotation - this", 0]
}
},
"rearFootLeft": {
"rotation": {
"vector": ["variable.jump_rotation * 50.0 - this", 0, 0]
}
},
"rearFootRight": {
"rotation": {
"vector": ["variable.jump_rotation * 50.0 - this", 0, 0]
}
}
}
}
},
"geckolib_format_version": 2
}

View file

@ -11,6 +11,8 @@ function registerTFGEntityTypes(event) {
.setDeathSound("minecraft:entity.rabbit.death")
.setAmbientSound("minecraft:entity.rabbit.ambient")
.setHurtSound(context => "minecraft:entity.rabbit.hurt")
.canJump(true)
.setBlockJumpFactor(entity => 0.42)
// these are the same as tfc rabbits
//.configs(config => {
// config.gestationDays(19)