Description of Bug: A turtle won't compare a sugar cane(Item) and a sugar cane(Block)
Steps to Reproduce Bug: do turtle.compare() with sugar cane?
Yes, but it's impossible to get a Sugar Cane block without using commands or an inventory editor, so this should be fixed. By when checking items change them to the blocks then comparing (In the mod, not lua).That's because they're different things.
Yes, but it's impossible to get a Sugar Cane block without using commands or an inventory editor, so this should be fixed. By when checking items change them to the blocks then comparing (In the mod, not lua).That's because they're different things.
I was on Immibis' server, and I had broken into a house with a sugar cane farm, and I was super bored. So I fixed their Sugar Cane farming turtle. I get that you guys don't have unlimited time, and that you would have to do mapping, but last time I checked, you can get an item for a block with block.getItem() or something. I haven't used MCP in awhile :D/>/>Yes, but it's impossible to get a Sugar Cane block without using commands or an inventory editor, so this should be fixed. By when checking items change them to the blocks then comparing (In the mod, not lua).That's because they're different things.
You can't handle that in all cases. Not without a huge list of what maps to what.
Why do you need to check if a block is a sugarcane? Genuine question - not saying I won't "fix" it, but maybe I can suggest alternatives.
I was on Immibis' server, and I had broken into a house with a sugar cane farm, and I was super bored. So I fixed their Sugar Cane farming turtle. I get that you guys don't have unlimited time, and that you would have to do mapping, but last time I checked, you can get an item for a block with block.getItem() or something. I haven't used MCP in awhile :D/>/>Yes, but it's impossible to get a Sugar Cane block without using commands or an inventory editor, so this should be fixed. By when checking items change them to the blocks then comparing (In the mod, not lua).That's because they're different things.
You can't handle that in all cases. Not without a huge list of what maps to what.
Why do you need to check if a block is a sugarcane? Genuine question - not saying I won't "fix" it, but maybe I can suggest alternatives.
Well, like I've said, I haven't used MCP in awhile.And no, it really isn't that simple.
Shouldnt matter, this bug should be not a bug. Because a mechanic is broken it has to be fixed, because someone is going to need it eventuallyWhy would a turtle need to know if a block in front of it is sugarcane/reeds/whatever they're called now or not? If you tell it to go harvest around a certain area, is it not enough for it to know that there are blocks in the area you want chopped up?
You can make dynamic scripts with setups like this, imagine sideview:Why would a turtle need to know if a block in front of it is sugarcane/reeds/whatever they're called now or not? If you tell it to go harvest around a certain area, is it not enough for it to know that there are blocks in the area you want chopped up?
CT||||||W
-|||||||W
-|||||||W
Where C=Chest, T=Turtle, |=Sugarcane, W=Wall