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

Custom Block Compatibility #343

Open
2 tasks done
MrCow98 opened this issue Feb 20, 2025 · 3 comments
Open
2 tasks done

Custom Block Compatibility #343

MrCow98 opened this issue Feb 20, 2025 · 3 comments

Comments

@MrCow98
Copy link

MrCow98 commented Feb 20, 2025

Is your feature request related to a problem?

No, other than the fact that only allowing vanilla Minecraft blocks to affect island levels is very outdated, and badly needs support.

Describe the solution you'd like.

Add support for ItemsAdder/Oraxen/Nexo's custom blocks/custom data. Every custom item is a real item with data attached to it, if you can add support for the custom data to be read in the block config, I'd be able to add 1000's of my own custom blocks opening an entirely new playing field for island leveling. Right now, the system is very old.

It also appears virtually impossible to do a system like this outside of the Skyblock core, so it would need to be done inside the Levels addon.

Thank you! Your plugin(s) drive my network, and I have a lot of love for BentoBox.

Describe alternatives you've considered.

You can't, Skyblock is a core and it is outside of my knowledge to hook another plugin into it to read island data and then add a level WITH custom block support. Skyblock is a dying gamemode.

Agreements

  • I have searched for and ensured there isn't already an open issue regarding this.
  • I have ensured the feature I'm requesting isn't already in the latest supported BentoBox build or Addons.

Other

No response

@tastybento
Copy link
Member

Please provide examples of the block data or definition that you'd put into the config.

@MrCow98
Copy link
Author

MrCow98 commented Feb 21, 2025

For example, this is what is used for an item in a DeluxeMenus GUI:
{
'exit':
material: PAPER
model_data: 1001
slot: 49
display_name: '&aIsland Panel'
}

Similarily, this is what Oraxen/Nexo/ItemsAdder uses to define the items with, like "custom_model_data: 1001".

I am not an expert, but I believe these plugins will override automatically hook into the block config as long as you can define a custom model data number for the blocks within it. If my block config now can have;

Items:

  • NETHERRACK
  • COBBLESTONE
  • and so on...

I should be able to have something like

  • 'PAPER'
    • model_data: '1001'
  • 'NETHERRACK'
  • 'COBBLESTONE'

I hope this helps. :)

@tastybento
Copy link
Member

Yes thanks. I'm working on Level now - adding support for spawner types. Got to finish that but I'll look at this next.

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