[2.0.73] Hidden minable entities are impossible?
Posted: Tue Jan 27, 2026 4:09 pm
Not sure whether this should go in Bug Reports or Modding Interface Requests. Either way, I'd like to hide the existing transport belts so I can add new ones for my mod. I'm hiding rather than deleting them for better compatibility, e.g. another mod may place them by script.
I understand this to be supported by the standard pattern:
data.raw.recipe["transport-belt"].hidden = true
data.raw["transport-belt"]["transport-belt"].hidden = true
data.raw.item["transport-belt"].hidden = true
However, this gives a startup error: "Error while running setup for entity prototype "transport-belt" (transport-belt): When next_upgrade is set entity mining result must not contain item product with "hidden" flag set. Mining results with no item products are allowed." It's not clear what this condition is supposed to achieve, it just forces the hidden entity to have broken functionality.
I understand this to be supported by the standard pattern:
data.raw.recipe["transport-belt"].hidden = true
data.raw["transport-belt"]["transport-belt"].hidden = true
data.raw.item["transport-belt"].hidden = true
However, this gives a startup error: "Error while running setup for entity prototype "transport-belt" (transport-belt): When next_upgrade is set entity mining result must not contain item product with "hidden" flag set. Mining results with no item products are allowed." It's not clear what this condition is supposed to achieve, it just forces the hidden entity to have broken functionality.