mojira.dev
MCPE-242939

minecraft:placement_filter component doesn't destroy the placed blocks when condition no match

so, minecraft:placement_filter now doesn’t destroy the placed custom block when the condition of the block doesn’t match with the placement filter component. it will only happen with this specific type of code :

the failed one (the eye shaped block) :

"minecraft:placement_filter": {
	"conditions": [
		{
			"allowed_faces": [ "up" ]
		}
	]
}

but this one works fine (the auric battery recharge station:

"minecraft:placement_filter": {
	"conditions": [
		{
			"allowed_faces": [ "up" ],
			"block_filter": [ "minecraft:cobbled_deepslate" ]
		}
	]
}

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

ExplerHD

(Unassigned)

Unconfirmed

Multiple

26.50

Retrieved