(int energy, ItemStack input, ItemStack output, FluidStack fluid, int chance, boolean reversible)
| 1162 | FMLInterModComms.sendMessage("ThermalExpansion", "TransposerFillRecipe", toSend); |
| 1163 | } |
| 1164 | public static void te_extract(int energy, ItemStack input, ItemStack output, FluidStack fluid, int chance, boolean reversible) { |
| 1165 | if (input == null || output == null || fluid == null) return; |
| 1166 | NBTTagCompound toSend = UT.NBT.make(); |
| 1167 | toSend.setInteger("energy", energy); |
| 1168 | toSend.setTag("input", UT.NBT.make()); |
| 1169 | toSend.setTag("output", UT.NBT.make()); |
| 1170 | toSend.setTag("fluid", UT.NBT.make()); |
| 1171 | input.writeToNBT(toSend.getCompoundTag("input")); |
| 1172 | output.writeToNBT(toSend.getCompoundTag("output")); |
| 1173 | UT.NBT.setBoolean(toSend, "reversible", reversible); |
| 1174 | toSend.setInteger("chance", chance); |
| 1175 | fluid.writeToNBT(toSend.getCompoundTag("fluid")); |
| 1176 | FMLInterModComms.sendMessage("ThermalExpansion", "TransposerExtractRecipe", toSend); |
| 1177 | } |
| 1178 | } |
nothing calls this directly
no test coverage detected