Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / OceanShark
Developer Profile

OceanShark

Discovered public repositories for OceanShark in the GitHub catalog.

↗

OceanShark/Seagoingmanatee-s-Custom-Craft--edited-

pinv = player.getInventory() try { var fslot = pinv.getSlotContainingItem(265) //265 is iron ingot, removed the "Damage" part of the function since it's iron ingot var fquant = pinv.getItemInSlot(fslot).getQuantity() if (fslot != 1 && fquant >= 20) { if(pinv.getSlotContainingItem(272) != -1) //272 is stone sword { pinv.consumeItemAmount(265,20) //20 iron ingots pinv.consumeItem(272) // + 1 stone sword pinv.addItem(Item(267)) // = 1 iron sword } } } catch(e) {}

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner