Skip to content

Loot table "name" not detecting custom block #881

@DevOConnor

Description

@DevOConnor

I have a custom block (consoftdev:transit_pipework).
This works in game as expected, when i added the loot table entry for it to ensure it drops the block when broken VS code is throwing a "Cannot find behaviourpack items definition.

The error code seems to be attempting to prefix my namespace with minecraft: and then my namespace consoftdev

Cannot find behaviorpack items definition: "minecraft:consoftdev"

To Reproduce
Steps to reproduce the behavior:

  1. New Block

  2. Create loot table without "item" entry

  3. See error - Cannot find behaviorpack items definition: "minecraft:consoftdev"

Expected behavior
It should be using my namespace to find the block

Desktop (please complete the following information):
Version: 1.104.1 (user setup)

  • Windows 11 - VS Code.

VS Code:
Version: 1.104.1 (user setup)
Commit: 0f0d87fa9e96c856c5212fc86db137ac0d783365
Date: 2025-09-17T23:36:24.973Z
Electron: 37.3.1
ElectronBuildId: 12404162
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Windows_NT x64 10.0.26100

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions