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

1.21 Issues (Ammeter, Lightstone, Painting Switcher) #1330

Open
6 tasks done
andrewkm opened this issue Jun 28, 2024 · 5 comments
Open
6 tasks done

1.21 Issues (Ammeter, Lightstone, Painting Switcher) #1330

andrewkm opened this issue Jun 28, 2024 · 5 comments
Labels
status:pending Pending acceptance or closure. type:bug Incorrect behavior, not working as intended

Comments

@andrewkm
Copy link

andrewkm commented Jun 28, 2024

CraftBook Version

CraftBook5 v5.0.0-SNAPSHOT+4845-1e3372c

Platform Version

Paper version 1.21-38-master@1f5db50

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of CraftBook compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

Ammeter is broken - our defined tool (coal) doesn't display redstone power strength when used.
Lightstone is broken - our defined tool (glowstone_dust) doesn't display light level when used.

Both are working fine on 1.20.6

Painting switcher doesn't rotate through the 20 new 1.21 paintings but seeing we have no config settings I can find to define those I assume its up to Craftbook5 to update and add those paintings(?)

Expected Behavior

To function.

Reproduction Steps

N/A

Anything Else?

If you need any other information please let me know.

@andrewkm andrewkm added status:pending Pending acceptance or closure. type:bug Incorrect behavior, not working as intended labels Jun 28, 2024
@me4502
Copy link
Member

me4502 commented Jun 28, 2024

I'll take a look at the two tools, but as for the painting switcher that just sounds like Bukkit hasn't added them to the Art enum yet. CraftBook just uses that, as Bukkit doesn't expose it via registry

@me4502
Copy link
Member

me4502 commented Jun 29, 2024

I cannot reproduce any issues with Ammeter or Lightstone, they both work fine for me on 1.21 using the listed Paper build. What else is on your server / are there any console errors? it's likely something else is going on

@andrewkm
Copy link
Author

andrewkm commented Jul 2, 2024

Looks like the origin of the item is what is causing it to not work.
The items I was using in my original test were spawned in with /i or /give (minecraft:give). They have 7 components and don't work. https://i.imgur.com/tQuefJt.png

However if I use items naturally generated or via the Creative menu, they do work and have only 6 components: https://i.imgur.com/3W1u04r.png

@me4502
Copy link
Member

me4502 commented Jul 2, 2024

CraftBook just compares the base item type using the Bukkit API method to do that. If different components on the item are somehow breaking item type comparisons, that sounds like a bug in Spigot or Paper

Although when I did testing I did it via the /give command

@andrewkm
Copy link
Author

andrewkm commented Jul 2, 2024

CraftBook just compares the base item type using the Bukkit API method to do that. If different components on the item are somehow breaking item type comparisons, that sounds like a bug in Spigot or Paper

Although when I did testing I did it via the /give command

Alright, thanks, I'll investigate further and see if perhaps this is an issue with our item/give commands, specifically on our server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:pending Pending acceptance or closure. type:bug Incorrect behavior, not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants