mojira.dev
MCPE-179287

Skeleton not honoring seat rotation

I created an inanimate entity other entities may ride in my add-on, Phantom Frames. Skeleton riders do not honor the rotation value of the ridable entity and always face south.

I have tested all mobs and ONLY the skeletons will not face properly. Also mobs using a skeleton runtime will also only face south.

I can send images if this is unclear. I have not tested minecrafts rideable entities for the skeleton disparity, such as boats, minecarts, saddled pigs, horses, donkeys, mules, camels, etc... as it's beyond the scope of my project.

I just felt with the new ride rotation specs in the API, you should be aware.

Attachments

Comments 8

The snow golems "seat" has been rotated, he points in the correct direction

The snow golems "seat" has been rotated, he points in the correct direction

Here is a snippet of the family types. Skeletons pull in just fine.

"minecraft:rideable":{
		"controlling_seat":0,
		"crouching_skip_interact":false,
		"family_types":["mob", "player", "other", "monster", "hostile", "passive", "neutral", "inanimate"],
		"interact_text": "action.interact.sit.mount",
		"pull_in_entities":true,
		"rider_can_interact":false,
		"seat_count":1,
		"seats":{
			// head swivel
			"lock_rider_rotation":45,
			"max_rider_count":1,
			"min_rider_count":0,
			"position":[0,0.5,0],
			"rotate_rider_by":270
		}
	}

Here is a snippet of the family types. Skeletons pull in just fine.

"minecraft:rideable":{
		"controlling_seat":0,
		"crouching_skip_interact":false,
		"family_types":["mob", "player", "other", "monster", "hostile", "passive", "neutral", "inanimate"],
		"interact_text": "action.interact.sit.mount",
		"pull_in_entities":true,
		"rider_can_interact":false,
		"seat_count":1,
		"seats":{
			// head swivel
			"lock_rider_rotation":45,
			"max_rider_count":1,
			"min_rider_count":0,
			"position":[0,0.5,0],
			"rotate_rider_by":270
		}
	}

When I put that snippet of code on a pillager the skeleton is the only mob that faces the direction the pillager moves. Other mobs face to the left. This is consistent with your screenshot if the custom entity is facing toward the player.

When I put that snippet of code on a pillager the skeleton is the only mob that faces the direction the pillager moves. Other mobs face to the left. This is consistent with your screenshot if the custom entity is facing toward the player.

If this is still an issue, please attach an example behavior pack that can be used to reproduce it.

Test Pattern

(Unassigned)

Unconfirmed

Windows

Windows 10

1.20.62 Hotfix

Retrieved