local function Pste(i,x,y,s,nt)
local collx = math.random(-1,1)
local colly = math.random(-1,1)
if tpt.get_property("type", x+collx, y+colly) == tpt.element('sand') then
if tpt.get_property("tmp2", i) == 0 then
tpt.delete(x+collx, y+colly)
tpt.set_property("ctype","cnct",i)
tpt.set_property("tmp2",1,i)
tpt.set_property("life",1500,i)
end
end
if tpt.get_property("tmp2", i) == 1 then
if tpt.get_property("life", i) > 0 then
tpt.set_property("life",tpt.get_property("life", i)-1,i)
end
end
if tpt.get_property("tmp2", i) == 1 then
if tpt.get_property("life", i) == 0 then
tpt.set_property("tmp2",0,i)
tpt.set_property("type","cnct",i)
end
end
if tpt.get_property("type", x+collx, y+colly) == tpt.element('watr') or tpt.get_property("type", x+collx, y+colly) == tpt.element('dstw') then
if tpt.get_property("tmp2", i) == 1 then
tpt.set_property("life",1500,i)
end
end
end
tpt.element_func(Pste, tpt.element('pste'))
Could you please explain what slime blocks are? (I don't play Minecraft)
schuylerwalker:
Could you please explain what slime blocks are? (I don't play Minecraft)
Slime blocks are blocks made of Slime, which are sticky, and bouncy. They can pull other blocks when moved by pistons.
When a slime block is pushed by a piston, all connected slime blocks (as well as other blocks touching the slime blocks) move as well. (they're also bouncy)
Thanks.
Now knowing what you're talking about, yeah.
Could someone make code for the reinforced concrete?