"Could not execute RecipeFunction" while trying to get EnderIO capacitor stored energy amount
Nik-mmzd opened this issue ยท 0 comments
Issue Description:
java.lang.NumberFormatException: For input string: "enderio:energy"
while trying to craft an item with some metadata
I want to craft Thermal Expansion energy cell from/to EnderIO capacitor without energy loss
Thermal Expansion => EnderIO cells recipe works fine, but EnderIO => Thermal Expansion cell recipes drops error
Can you explain what am I doing wrong? (it's my first try with metadata and recipe functions)
PS
/ct hand
of Thermal Expansion cell:
<thermalexpansion:cell>.withTag({Recv: 1000, RSControl: 0 as byte, Facing: 2 as byte, Creative: 0 as byte, Energy: 43000, Level: 0 as byte, SideCache: [2, 1, 1, 1, 1, 1] as byte[] as byte[], Send: 1000})
/ct hand
of EnderIO capacitor:
<enderio:block_cap_bank:1>.withTag({"enderio:energy": 57000, "enderio:data": {maxOutput: -1, faceDisplayTypes: [3, 0, 65536] as int[], inputControlMode: 0, faceModes: [3, 0, 1024] as int[], maxInput: -1, outputControlMode: 0}})
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
crafttweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):
Affected Versions (Do not use "latest"):
- Minecraft: 1.12.2
- Forge: 14.23.5.2837
- Crafttweaker: 4.1.19
- Using a server: Tried both server and client
- If yes, does the client have the exact same scripts? Yes