mojira.dev
MC-222795

Daylight detector can be ctrl + pick-block'ed with NBT data despite being unable to store inverted: true state

Most blocks lack the ability to store NBT when ctrl + pickblocked. One would expect only blocks that have the ability to store information to be ctrl+pick-block'able. When ctrl + pick-block is used on a daylight detector, a player recieves a daylight detector with an NBT data. 

[media]

Despite this, even if daylight detector was switched to the "inverted: true" mode (night), the inverted state does not get stored as an item form when ctrl+pick block'ed.

Daylight detector should either recieve ability to store inverted true state when ctrl + pick block is used, or this ability should be removed all together, as placing it does absolutely nothing and defaults to normal.

Attachments

Comments

migrated
[media][media]
migrated

This happens because daylight detectors are tile entities while most block aren't.

migrated

It still should store the inverted value. 

migrated

Probably won't fix per MC-87296

migrated

The point of the report is that if it cannot store anything why even store NBT when pick-block + ctrl clicked in the first place

ampolive

Can confirm in 1.17.1.

migrated

Re Dmitry: Daylight sensors are block entities, all block entities can be control pickblocked.

This should be invalid per MC-250042, inverted is a block state, not NBT.

Shawn82

FIxed in 24w44a.

[media]

migrated

(Unassigned)

Confirmed

Block states

1.16.5, 21w14a, 21w16a, 1.17.1, 22w17a, 1.19.4

24w44a

Retrieved