Bedrock Snippets

Animated Entity Texture

View Source

animated_entity_texture > rp > entity > cow.entity.json

{
	"format_version": "1.10.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "minecraft:cow",
			"min_engine_version": "1.8.0",
			"materials": {
				"default": "custom_animated"
			},
			"textures": {
				"default": "textures/entity/cow/cow"
			},
			"geometry": {
				"default": "geometry.cow.v1.8"
			},
			"animations": {
				"setup": "animation.cow.setup",
				"walk": "animation.quadruped.walk",
				"look_at_target": "animation.common.look_at_target",
				"baby_transform": "animation.cow.baby_transform"
			},
			"scripts": {
				"animate": [
					"setup",
					{
						"walk": "query.modified_move_speed"
					},
					"look_at_target",
					{
						"baby_transform": "query.is_baby"
					}
				]
			},
			"render_controllers": [
				"controller.render.cow"
			],
			"spawn_egg": {
				"texture": "spawn_egg",
				"texture_index": 1
			}
		}
	}
}
Copied to Clipboard