Origins (Forge)

Origins (Forge)

7M Downloads

Using Dismount in datapack is bugged

DootLoot opened this issue ยท 0 comments

commented

I made a data-pack for the origins forge mod which dismounts a entity from the players head. After the entity is dismounted it becomes invisible and it still appears to be mounted.

"name": "Carry",
    "description": "You can pick up mobs and players by right-clicking them with a open hand.",
    "type": "origins:multiple",
	"pickup":
	{
		"type": "origins:action_on_entity_use",
		"bientity_action": {
			"type": "origins:invert",
			"action": {
				"type": "origins:mount"
			}
		}
	},
	"drop":
	{
		"type": "origins:active_self",
		"entity_action": {
			"type": "origins:passenger_action",
			"action": {
				"type": "origins:dismount",
				"client": true,
				"server": true
			},
			"recursive": true
		},
		"key":
		{
			"key": "key.sneak",
			"continuous": false
		}
	}
}