Skip to content

Bukkit 26.1.2#559

Open
ArikSquad wants to merge 5 commits into
PolyhedralDev:masterfrom
ArikSquad:feat/26_1_2
Open

Bukkit 26.1.2#559
ArikSquad wants to merge 5 commits into
PolyhedralDev:masterfrom
ArikSquad:feat/26_1_2

Conversation

@ArikSquad

Copy link
Copy Markdown

Pull Request

Description

This PR implements the Bukkit 26.1.2 version. I've decided that maybe it's best for just Bukkit to be implemented here in a single PR. Mostly made this so I can use Terra myself in 26.1.2 but decided to open a PR if someone wants to use this. I also included a hack due to some changes with Bukkit#createBlockData.

Changelog

  • 26.1.2 support

Checklist

Mandatory checks

  • The base branch of this PR is an unreleased version branch (that has a ver/ prefix)
    or is a branch that is intended to be merged into a version branch.
  • There are no already existing PRs that provide the same changes.
  • The PR is within the scope of Terra (i.e. is something a configurable terrain generator should be doing).
  • Changes follow the code style for this project.
  • I have read the CONTRIBUTING.md
    document in the root of the git repository.
  • LLM-based tools were not used to create this PR. (ChatGPT, Claude, etc)

Types of changes

  • Bug Fix
  • Build system
  • Documentation
  • New Feature
  • Performance
  • Refactoring
  • Repository
  • Revert
  • Style
  • Tests
  • Translation

Compatibility

  • Introduces a breaking change
  • Introduces new functionality in a backwards compatible way.
  • Introduces bug fixes

Documentation

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Testing

  • I have added tests to cover my changes.
  • All new and existing tests passed.

Licensing

  • I am the original author of this code, and I am willing to
    release it under GPLv3.
  • I am not the original author of this code, but it is in public domain or
    released under GPLv3 or a compatible license.

ArikSquad added 2 commits May 22, 2026 18:39
nothing changed for this project
@hui14

hui14 commented Jul 11, 2026

Copy link
Copy Markdown

Hello, I am trying to enable this Terra on version 26.2. It throws a NoSuchMethodException during enabling, attempting to call CraftItemStack.asBukkitCopy(net.minecraft.world.item.ItemStack) via reflection, but this method signature does not exist in the server core. However, on version 26.1.2, it works fine. Is this version really compatible with 26.2? If so, how can I make it work?
e6cbcb7c3c68d15e0095860310f922fd

@ArikSquad

Copy link
Copy Markdown
Author

Hello, I am trying to enable this Terra on version 26.2. It throws a NoSuchMethodException during enabling, attempting to call CraftItemStack.asBukkitCopy(net.minecraft.world.item.ItemStack) via reflection, but this method signature does not exist in the server core. However, on version 26.1.2, it works fine. Is this version really compatible with 26.2? If so, how can I make it work?

It seems like this is an issue in the upstream cloud command framework from what I'm reading. We can't really fix that without patching the framework itself, and the framework seems to have become unmaintained which means that a PR there probably wouldn't result in it getting merged. I'd have to port this plugin to use another library like Lamp, which seems like a good fit here. However, I wouldn't like to do all these changes without having some contact with the Terra team, however they also seem inactive.

@solonovamax

Copy link
Copy Markdown
Member

It seems like this is an issue in the upstream cloud command framework from what I'm reading. We can't really fix that without patching the framework itself, and the framework seems to have become unmaintained which means that a PR there probably wouldn't result in it getting merged.

if that's the case, then I may consider forking cloud and making something derived from it

@TulipQiyi

Copy link
Copy Markdown

Hello, I am trying to enable this Terra on version 26.2. It throws a NoSuchMethodException during enabling, attempting to call CraftItemStack.asBukkitCopy(net.minecraft.world.item.ItemStack) via reflection, but this method signature does not exist in the server core. However, on version 26.1.2, it works fine. Is this version really compatible with 26.2? If so, how can I make it work?

It seems like this is an issue in the upstream cloud command framework from what I'm reading. We can't really fix that without patching the framework itself, and the framework seems to have become unmaintained which means that a PR there probably wouldn't result in it getting merged. I'd have to port this plugin to use another library like Lamp, which seems like a good fit here. However, I wouldn't like to do all these changes without having some contact with the Terra team, however they also seem inactive.

You just need to update this library to the latest version becuz they fixed this issue in 2.0.0-beta.16 <w<

@hui14

hui14 commented Jul 13, 2026

Copy link
Copy Markdown

你好,我正在尝试启用26.2版本的Terra。在启用过程中,它会抛出 NoSuchMethodException,尝试通过反射调用 CraftItemStack.asBukkitCopy(net.minecraft.world.item.ItemStack),但该方法签名在服务器核心中不存在。不过,在26.1.2版本上,它运行正常。这个版本真的兼容26.2吗?如果是这样,我该如何让它顺利进行?

据我所知,这似乎是上游云指令框架的问题。我们实际上无法修复,除非先修补框架本身,而且框架似乎已经无人维护,这意味着在那里进行PR可能不会导致合并。我得把这个插件移植到用另一个库,比如 Lamp,这在这里看起来很合适。不过,我不想在没有和Terra团队联系的情况下做所有这些改动,但他们似乎也处于不活跃状态。

你只需要把这个库更新到最新版本,因为这个问题在2.0.0-beta.16<w<修复了

Thank you, everyone! After I changed the version of bukkit.cloud in versions.kt to beta.16, it worked smoothly with 26.2.

@ArikSquad

ArikSquad commented Jul 13, 2026

Copy link
Copy Markdown
Author

You just need to update this library to the latest version becuz they fixed this issue in 2.0.0-beta.16 <w<

Who maintains this version? The incendo/cloud repository doesn't seem to have such a version? I can bump it in this PR but I'm curious where it's coming from

@ArikSquad

Copy link
Copy Markdown
Author

It seems like I've completely missed the cloud-minecraft repo. Thanks for the information

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

Successfully merging this pull request may close these issues.

4 participants