Page 1 of 1

[2.0.73] Hidden minable entities are impossible?

Posted: Tue Jan 27, 2026 4:09 pm
by thesixthroc
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.

Re: [2.0.73] Hidden minable entities are impossible?

Posted: Tue Jan 27, 2026 4:14 pm
by boskid
This means transport-belt cannot point at fast-transport-belt as next_upgrade because upgrade planner could not be configured to match default upgrade due to hidden items not being displayed as upgrade target. You can mark them as hidden but next_upgrade has to be cleared.

Re: [2.0.73] Hidden minable entities are impossible?

Posted: Tue Jan 27, 2026 7:16 pm
by thesixthroc
Ah, for the upgrade planner. Thanks, that makes sense.