Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some issue in old minecraft version #71

Open
disqetow opened this issue Jan 5, 2025 · 3 comments
Open

some issue in old minecraft version #71

disqetow opened this issue Jan 5, 2025 · 3 comments

Comments

@disqetow
Copy link

disqetow commented Jan 5, 2025

Hi, I already test all item in 1.12.2, and I found these issue

Image broke:
tallgrass
clownfish
Sandstone Slab
Wooden Pressure Plate
Wooden Trapdoor
wooden_button
Red Sandstone Slab
Sign
Cocoa Beans
Lapis Lazuli
image

bed color weird:
Light Gray Bed
image

all another bed no color in bottom
image

wrong image:
command_block (yellow version)
image

cant show image to discord (im sure item is on my hand):
and this issue happen in showinv & enderchest too

Dispenser
chest
Furnace
Beacon
Trapped Chest
Hopper
Dropper
All color of shulker box
Brewing Stand
image

[08:43:38 INFO]: <onermb> [Dispenser]
[08:43:38 WARN]: java.lang.NoSuchMethodError: 'boolean org.bukkit.inventory.Inventory.isEmpty()'
[08:43:38 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.utils.DiscordContentUtils.getBlockInventory(DiscordContentUtils.java:418)
[08:43:38 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents.processGameMessage(OutboundToDiscordEvents.java:452)
[08:43:38 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents.handleGameToDiscord(OutboundToDiscordEvents.java:205)
[08:43:38 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents.onGameToDiscordHighest(OutboundToDiscordEvents.java:182)
[08:43:38 WARN]:        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[08:43:38 WARN]:        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[08:43:38 WARN]:        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[08:43:38 WARN]:        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[08:43:38 WARN]:        at github.scarsz.discordsrv.api.ApiManager.invokeMethod(ApiManager.java:344)
[08:43:38 WARN]:        at github.scarsz.discordsrv.api.ApiManager.callEvent(ApiManager.java:149)
[08:43:38 WARN]:        at github.scarsz.discordsrv.DiscordSRV.processChatMessage(DiscordSRV.java:1732)
[08:43:38 WARN]:        at github.scarsz.discordsrv.DiscordSRV.processChatMessage(DiscordSRV.java:1668)
[08:43:38 WARN]:        at github.scarsz.discordsrv.listeners.PlayerChatListener.lambda$onAsyncPlayerChat$0(PlayerChatListener.java:43)
[08:43:38 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64)
[08:43:38 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
[08:43:38 WARN]:        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[08:43:38 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[08:43:38 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[08:43:38 WARN]:        at java.base/java.lang.Thread.run(Unknown Source)

Another issue cant show image to discord:
and this issue happen in showinv & enderchest too
Light Gray Banner

[09:50:31 WARN]: java.lang.IllegalArgumentException: No enum constant org.bukkit.DyeColor.LIGHT_GRAY
[09:50:31 WARN]:        at java.base/java.lang.Enum.valueOf(Unknown Source)
[09:50:31 WARN]:        at org.bukkit.DyeColor.valueOf(DyeColor.java:10)
[09:50:31 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.graphics.BannerGraphics.generateBannerAssets(BannerGraphics.java:52)
[09:50:31 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.utils.ItemRenderUtils.processItemForRendering(ItemRenderUtils.java:203)
[09:50:31 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.graphics.ImageGeneration.getRawItemImage(ImageGeneration.java:829)
[09:50:31 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.graphics.ImageGeneration.getSingleRawItemImage(ImageGeneration.java:813)
[09:50:31 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.graphics.ImageGeneration.getItemStackImage(ImageGeneration.java:265)
[09:50:31 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.utils.DiscordContentUtils.createContents(DiscordContentUtils.java:127)
[09:50:31 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents.handleSelfBotMessage(OutboundToDiscordEvents.java:865)
[09:50:31 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents.access$100(OutboundToDiscordEvents.java:142)
[09:50:31 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents$JDAEvents.lambda$onMessageReceived$0(OutboundToDiscordEvents.java:1008)
[09:50:31 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64)
[09:50:31 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
[09:50:31 WARN]:        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[09:50:31 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[09:50:31 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[09:50:31 WARN]:        at java.base/java.lang.Thread.run(Unknown Source)
@LOOHP LOOHP closed this as completed in f34f773 Jan 6, 2025
@disqetow
Copy link
Author

disqetow commented Jan 6, 2025

Already test new plugin version, still have some issue:

  1. Image still broke:
    Sandstone Slab
    Wooden Pressure Plate
    Wooden Trapdoor
    wooden_button
    Red Sandstone Slab
    Sign
    Cocoa Beans
    Lapis Lazuli
    Light Gray Bed
    image
    image

  2. Default command block should be yellow, but it send cyan one
    image

  3. I not sure this is issue or not, look like all custom name and lore item will auto add &o when player show,
    this not happen in old InteractiveChat version.

custom name or lore item:
image

in game chat:
image

discord chat:
image

vanilla item:
image
image

  1. When I try to showinv, it not work: (try put fishing rod in backpack)
[19:33:20 WARN]: [InteractiveChatDiscordSRVAddon] Plugin InteractiveChatDiscordSrvAddon v4.2.16.0 generated an exception while executing task 1645
java.lang.NoSuchMethodError: 'boolean org.bukkit.inventory.meta.ItemMeta.hasCustomModelData()'
        at com.loohp.interactivechatdiscordsrvaddon.graphics.ImageGeneration.lambda$getPlayerInventoryImage$7(ImageGeneration.java:348) ~[?:?]
        at java.util.stream.MatchOps$1MatchSink.accept(Unknown Source) ~[?:?]
        at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source) ~[?:?]
        at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:?]
        at java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source) ~[?:?]
        at java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:?]
        at java.util.stream.ReferencePipeline.noneMatch(Unknown Source) ~[?:?]
        at com.loohp.interactivechatdiscordsrvaddon.graphics.ImageGeneration.getPlayerInventoryImage(ImageGeneration.java:348) ~[?:?]
        at com.loohp.interactivechatdiscordsrvaddon.graphics.ImageGeneration.getPlayerInventoryImage(ImageGeneration.java:326) ~[?:?]
        at com.loohp.interactivechatdiscordsrvaddon.utils.DiscordContentUtils.createContents(DiscordContentUtils.java:230) ~[?:?]
        at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents.handleSelfBotMessage(OutboundToDiscordEvents.java:865) ~[?:?]
        at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents.access$100(OutboundToDiscordEvents.java:142) ~[?:?]
        at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents$JDAEvents.lambda$onMessageReceived$0(OutboundToDiscordEvents.java:1008) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1620]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[patched_1.12.2.jar:git-Paper-1620]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.12.2.jar:git-Paper-1620]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]

@LOOHP
Copy link
Owner

LOOHP commented Jan 6, 2025

I will take a look at the remaining issues later. As for the command block texture, the issue lies in a library IC uses, so we will have to wait for them to fix it. I will open an issue on their GitHub later.

@LOOHP
Copy link
Owner

LOOHP commented Jan 6, 2025

Everything should be fixed once XSeries fixes the issue above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants