forked from Arasple/TrChat
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a4aef5
commit d115963
Showing
16 changed files
with
191 additions
and
527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
project/module-nms/src/main/kotlin/me/arasple/mc/trchat/api/nms/NMSImpl12100.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package me.arasple.mc.trchat.api.nms | ||
|
||
import org.bukkit.entity.Player | ||
import org.bukkit.inventory.ItemStack | ||
import taboolib.common.platform.function.adaptPlayer | ||
import taboolib.module.chat.ComponentText | ||
import taboolib.module.nms.LocaleKey | ||
import java.util.* | ||
|
||
class NMSImpl12100 : NMS() { | ||
|
||
override fun craftChatMessageFromComponent(component: ComponentText): Any { | ||
TODO("Not yet implemented") | ||
} | ||
|
||
override fun rawMessageFromCraftChatMessage(component: Any): String { | ||
TODO("Not yet implemented") | ||
} | ||
|
||
override fun sendMessage(receiver: Player, component: ComponentText, sender: UUID?, usePacket: Boolean) { | ||
component.sendTo(adaptPlayer(receiver)) | ||
} | ||
|
||
override fun hoverItem(component: ComponentText, itemStack: ItemStack): ComponentText { | ||
TODO("Not yet implemented") | ||
} | ||
|
||
override fun optimizeNBT(itemStack: ItemStack, nbtWhitelist: Array<String>): ItemStack { | ||
TODO("Not yet implemented") | ||
} | ||
|
||
override fun getLocaleKey(itemStack: ItemStack): LocaleKey { | ||
TODO("Not yet implemented") | ||
} | ||
} |
126 changes: 0 additions & 126 deletions
126
...t/src/main/kotlin/me/arasple/mc/trchat/module/display/function/standard/EnderChestShow.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.