mojira.dev
MC-125100

Resource locations with namespace separator but without namespace are considered valid

The bug

Resource locations with a colon as namespace separator but without namespace are considered valid. The point of the separator is that you provide a namespace and therefore these resource locations should be considered invalid.

How to reproduce

/give @s :stone

Linked issues

Attachments

Comments 10

Can confirm in 20w49a.

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 21w17a.

Can confirm in 1.17.1.

Can confirm in 1.18.2 and 22w16b.

Can confirm in 1.19 and 22w24a.

Can confirm in 1.21.4 Pre-Release 3. Also would like to request ownership of this report to maintain it.

Marcono1234

sof

(Unassigned)

Confirmed

(Unassigned)

resource-location, resource-location-namespace

Minecraft 1.12.2, Minecraft 18w06a, Minecraft 18w22a, Minecraft 1.13.1, 1.15.1, ..., 1.19, 22w24a, 1.19.3, 1.21.4 Pre-Release 3, 1.21.4

Retrieved