Can't find vanilla red-wire / green-wire entity definitions
Posted: Tue Sep 13, 2022 11:11 am
Hi, i'm currently working on a mod for more flexibility with circuit networks, namely more cables, other cables, machines to work with those cables etc. So far so good.
I created the the prototypes files / declarations / definitions (however you would like to call them, my java brain loves definitions, but i'm not sure if these files actually are definitions or more like declarations) for items, technologies and recipes, started the game and tried if everything works as expected. Technologies are listed and researchable with correct effects etc, everything working fine except for connecting the wires with anything. Holding a wire and left-clicking it to machines, electric poles etc just opens their menu respectively. Makes sense, since i haven't defined an entity file for the wires so far and this is where it kinda went downhill. For every other file so far i searched the basegame files, looked at other mods, rushed through the modding tutorial etc, but i'm not able to find ANY entity definition for the red-wire and the green-wire. I would appreciate any hint or help where to find the entity definitions of the vanilla circuit cables, thanks in advance c:
I created the the prototypes files / declarations / definitions (however you would like to call them, my java brain loves definitions, but i'm not sure if these files actually are definitions or more like declarations) for items, technologies and recipes, started the game and tried if everything works as expected. Technologies are listed and researchable with correct effects etc, everything working fine except for connecting the wires with anything. Holding a wire and left-clicking it to machines, electric poles etc just opens their menu respectively. Makes sense, since i haven't defined an entity file for the wires so far and this is where it kinda went downhill. For every other file so far i searched the basegame files, looked at other mods, rushed through the modding tutorial etc, but i'm not able to find ANY entity definition for the red-wire and the green-wire. I would appreciate any hint or help where to find the entity definitions of the vanilla circuit cables, thanks in advance c: