Mojira Archive
MCM-614

[BLOCKING] minecraft:transformation fails for custom entities

Partner Rank: 3
Partner Team Reporting: Blockception
Verification builds: 1.11
Summary:
We have observed the entity behaviour "minecraft:transformation" does not work with custom entities. We have two custom entities whereby 'A' transforms into 'B'. The sounds that are played through the "minecraft:transformation" have been observed to play, but the entity does not transform. We then tried and replaced the identifier for entity B with the identifier for a horse ("minecraft:horse"), and observed that the entity did transform. note: the identifier for B is the same one we use in the custom entity identifiers.

Impact:
Having the ability to transform one entity into another is a big point in our maps. but I also imagined this is functionality that was originally intended to work with custom entities.

Repro Steps:

1. Create two custom entities. say 'A' and 'B'
2. Give 'A' the following behavior:

{
	"format_version": "1.8.0",
	"minecraft:entity": {
		"component_groups": {
			"transform": { 
				"minecraft:transformation": {
					"begin_transform_sound": "remedy",
					"transformation_sound": "unfect",
					"delay": 0,
					"into": "blockception:dragon"
				},
				"minecraft:is_shaking": { }
			}
		},

		"components": {
			"minecraft:interact": [ {
					"on_interact": { "event": "blockception:on_transform" },
					"interact_text": "dragon.egg",
					"swing": true,
					"cooldown": 1
				}
			],
		},
		"events": {
			"blockception:on_transform": { "add": { "component_groups": [ "transform" ] } }
		}
	}
}

3. Right-click 'A' and see that nothing happens.

Observed Results:
The sounds that are produced through "minecraft:transformation", are being played. but the entity never changes. It is also observed that when replacing the entity with another vanilla entity say, "minecraft:horse". Then the transformation does work.

Expected Results:
The expected result is that minecraft:transformation also works with custom entities.

Screenshots/Videos attached: No
*Regression Builds: *
None that I'm aware of.

Unresolved

Daan Verstraten

2019-04-25, 12:20 PM

2019-05-07, 04:27 PM

0

1

Future Release

-