Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

PixelClef

Members
  • Content Count

    1
  • Joined

  • Last visited

About PixelClef

  • Rank
    Junior Member

Contact Methods

  • Minecraft
    PixelClef
  1. I've been experimenting with the mod OpenComputers Drivers for Tinkers Construct lately. In the absence of coding examples, it's taken me a couple of hours to thrash through the basics, relearn Lua again, up to the point where I can write code that is not utterly ridiculous - and I wanted to share with you peeps. So with no further ado, here's an example for reading the fluids in your smeltery: local component = require("component") local smeltery = component.smeltery local fluids = {smeltery.getContainedFluids()} for _, fluid in ipairs(fluids) do print(fluid.label) end
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.