Add tools for copying id, texture id and nbt data
This commit is contained in:
@@ -19,7 +19,7 @@ object SkyblockItemIdFocusedStackProvider : FocusedStackProvider {
|
||||
override fun provide(screen: Screen?, mouse: Point?): CompoundEventResult<EntryStack<*>> {
|
||||
if (screen !is HandledScreen<*>) return CompoundEventResult.pass()
|
||||
screen as AccessorHandledScreen
|
||||
val focusedSlot = screen.focusedSlot_NEU ?: return CompoundEventResult.pass()
|
||||
val focusedSlot = screen.focusedSlot_Firmament ?: return CompoundEventResult.pass()
|
||||
val item = focusedSlot.stack ?: return CompoundEventResult.pass()
|
||||
val skyblockId = item.skyBlockId ?: return CompoundEventResult.pass()
|
||||
return CompoundEventResult.interruptTrue(SBItemEntryDefinition.getEntry(skyblockId))
|
||||
|
||||
Reference in New Issue
Block a user