-
Bug
-
Resolution: Unresolved
-
None
-
1.15.2, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 1.16.4, 20w46a, 20w49a, 21w03a, 21w11a, 1.17.1 Pre-release 1, 1.17.1, 1.20.4
-
Community Consensus
-
Entities
The NBT tag "BeamTarget" from End Crystals does not allow decimal values. It allows you to "set" a decimal value, but it is not truly set (the decimal value is transformed into the whole number that goes below it, "floor" function). It can be seen in the images.
TO REPLICATE:
- Summon an End Crystal - /summon minecraft:end_crystal ~
- Modify the NBT tag - /data modify entity @e[type=minecraft:end_crystal,limit=1,distance=..10] BeamTarget.X set value 1.5
- Read the changed data - /data get entity @e[type=minecraft:end_crystal,limit=1,distance=..10]
- Notice that in the coordinate X of the NBT tag "BeamTarget" (shown as BeamTarget: {X: ##, Y: ##, Z: ##}) has been eliminated the decimal part.