diff options
author | Roman / Linnea Gräf <roman.graef@gmail.com> | 2023-05-31 13:05:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 13:05:25 +0200 |
commit | 631cfec46220df2be3ae677f8f58a128303502e7 (patch) | |
tree | 041e37ecc7f3f3f655cdbd0b0f868bd890bfb056 /src/main/kotlin/io | |
parent | e89d2e7de492c523a941cadf4747d428de6e7250 (diff) | |
download | NotEnoughUpdates-631cfec46220df2be3ae677f8f58a128303502e7.tar.gz NotEnoughUpdates-631cfec46220df2be3ae677f8f58a128303502e7.tar.bz2 NotEnoughUpdates-631cfec46220df2be3ae677f8f58a128303502e7.zip |
DungeonNPCProfitOverlay: make use of ItemResolutionQuerys id by name … (#700)
DungeonNPCProfitOverlay: make use of ItemResolutionQuerys id by name resolvers
Diffstat (limited to 'src/main/kotlin/io')
-rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/events/DrawSlotReturnEvent.kt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/events/DrawSlotReturnEvent.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/events/DrawSlotReturnEvent.kt new file mode 100644 index 00000000..43ff56f4 --- /dev/null +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/events/DrawSlotReturnEvent.kt @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2023 NotEnoughUpdates contributors + * + * This file is part of NotEnoughUpdates. + * + * NotEnoughUpdates is free software: you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either + * version 3 of the License, or (at your option) any later version. + * + * NotEnoughUpdates is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with NotEnoughUpdates. If not, see <https://www.gnu.org/licenses/>. + */ + +package io.github.moulberry.notenoughupdates.events + +import net.minecraft.inventory.Slot +import net.minecraft.item.ItemStack +import net.minecraft.nbt.CompressedStreamTools +import java.io.ByteArrayInputStream +import java.io.ByteArrayOutputStream +import java.util.* + +data class DrawSlotReturnEvent(val slot: Slot) : NEUEvent() |