Open
Conversation
2 tasks
Add CraftEngineCustomBlock, CraftEngineListener, and register them in AOneBlock.onLoad() following the same pattern as Nexo and ItemsAdder integrations. Add craft-engine-bukkit dependency to pom.xml. Agent-Logs-Url: https://github.com/BentoBoxWorld/AOneBlock/sessions/98ee3d0c-05a3-457b-8bce-42c0463fde3a Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Agent-Logs-Url: https://github.com/BentoBoxWorld/AOneBlock/sessions/98ee3d0c-05a3-457b-8bce-42c0463fde3a Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for CraftEngine blocks and items
Add CraftEngine custom block support
Apr 9, 2026
Member
|
@copilot There are errors in the compilation. Try and fix them. |
The craft-engine-bukkit API references types from craft-engine-core (Key, CustomBlock), so both modules are needed on the compile classpath. Agent-Logs-Url: https://github.com/BentoBoxWorld/AOneBlock/sessions/02b4b996-4f28-499b-accc-6899a91de52a Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Contributor
Author
Fixed in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CraftEngine is a custom block/item plugin similar to ItemsAdder and Nexo. The existing
OneBlockCustomBlockCreatorregistry pattern already supports dynamic registration, so no architectural changes were needed.Changes
CraftEngineCustomBlock—OneBlockCustomBlockimpl usingCraftEngineBlocks.byId()for validation andCraftEngineBlocks.place()for placementCraftEngineListener— Reloads phase data onCraftEngineReloadEvent(same pattern asNexoListener/ItemsAdderListener)AOneBlock.onLoad()— Registers short-form and map-based creators when CraftEngine is presentpom.xml—craft-engine-core:0.0.67andcraft-engine-bukkit:0.0.67(provided, transitive deps excluded) +repo.momirealms.net/releases/repositoryPhase YAML usage