visual tweaks

This commit is contained in:
kepler155c@gmail.com
2019-04-15 11:49:43 -04:00
parent b116e56676
commit 61e2a2e8bf
2 changed files with 37 additions and 17 deletions

View File

@@ -33,7 +33,7 @@ local function fish()
local held = owner.heldItem and owner.heldItem.getMetadata()
if held and held.rawName == 'item.fishingRod' then
if icon then
icon.setItem('minecraft:fish', 1)
icon.setItem('minecraft:fish', math.random(0, 3))
end
kinetic.use(.2)
print('casting')
@@ -43,11 +43,10 @@ local function fish()
else
if icon then
icon.setItem('minecraft:fishing_rod')
icon.setScale(1)
end
print('waiting for fishing rod to be selected')
end
scale = 1
icon.setScale(1)
os.sleep(1)
else
if meta.y < depth then
@@ -67,4 +66,4 @@ pcall(fish)
if icon then
icon.remove()
end
end