Can you use custom ThermalFoundation item as a requirement to spawn mobs with the mobspawner?
coryjreid opened this issue ยท 2 comments
Issue description:
Using ThermalFoundation item that requires a data
value as a mob spawning requirement with mobspawner doesn't work.
I want to use an item from ThermalFoundation (eg. a Blitz rod) with the spawner. However, the item requires a data value to be provided when given with the /give
command.
To give the item the give command would be as follows: /give <player> thermalfoundation:material 1 2050
, with the 2050 being critical to getting the right item.
Is it possible to use this item?
Steps to reproduce:
- Edit config and add item
thermalfoundation:material:2050
as follows:
S:"thermalfoundation:blitz.spawnamount.0" <
I
thermalfoundation:material:2050
0
0.1
>
S:"thermalfoundation:blitz.spawnamount.1" <
B
minecraft:sand
0
50.0
>
S:"thermalfoundation:blitz.spawnamount.2" <
L
0
9.0
>
- Reboot clients/server and login to server
- Insert syringe into mobspawner, see incorrect item
Versions:
- Minecraft: 1.12.2
- Forge: 14.23.5.2768
- CompatLayer (only if on Minecraft 1.10 or 1.11): N/A
- McJtyLib: 3.0.7
- RFTools: 7.58
Possibly incompatible mods and versions: OptiFine 1.12.2 HD U E2
Relevant logs, if any: No logs, no crash
Try like this instead:
S:"thermalfoundation:blitz.spawnamount.0" <
I
thermalfoundation:material
2050
0.1
>
S:"thermalfoundation:blitz.spawnamount.1" <
B
minecraft:sand
0
50.0
>
S:"thermalfoundation:blitz.spawnamount.2" <
L
0
9.0
>