Posted 22 January 2016 - 04:01 AM
For those who are familiar with or use the "Blood Magic" mod for minecraft (by Awayoftime), this is a simple program for refueling using blood crystals. As a blood crystal does not refuel like a stack of coal would, the fact that it isn't consumed in the refueling process but rather uses LP (life points) from the blood network assigned to it, as well as the fact that you cannot simply enter "refuel 64" as that command only tells the turtle to consume 64 fuel items, not refuel from the same item 64 times.
The code is kind of simple (as seen below), but I had to get a little bit of help from these forums for an error that it had (thanks bomb bloke :)/> ).
pastebin: C6RtyTab
If anything, this topic is more to raise awareness that you can potentially have a turtle independently refuel itself from a remote location with the help of the Blood Magic mod's lava crystal item.
Although lava crystals are a bit expensive to make, it means that a turtle will not need to use coal or any traditional fuel source anymore as long as you have a good setup with a blood magic altar.
The code is kind of simple (as seen below), but I had to get a little bit of help from these forums for an error that it had (thanks bomb bloke :)/> ).
turtle.select(1)
local fuel
print("Lava Crystals grant 10 FP per cycle.")
term.write("How many refuel cycles do you want? ")
fuel = read()
for x = 0, fuel-1 do
turtle.refuel()
end
pastebin: C6RtyTab
If anything, this topic is more to raise awareness that you can potentially have a turtle independently refuel itself from a remote location with the help of the Blood Magic mod's lava crystal item.
Although lava crystals are a bit expensive to make, it means that a turtle will not need to use coal or any traditional fuel source anymore as long as you have a good setup with a blood magic altar.