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

[Suggestion] different block IDs list for naturally generated and player-placed blocks #117

Open
Robolightning opened this issue Apr 21, 2024 · 4 comments

Comments

@Robolightning
Copy link

Robolightning commented Apr 21, 2024

What if we create separate lists of block IDs for naturally generated blocks and those placed by the player? And configure the behavior using the config. For example, you can configure it so that all blocks placked by the player are not smoothed, but naturally generated ones are smoothed. Or configure separate behavior for different types of blocks (such as natural generatet and as player-placed).
I know that there is a way in the game to check whether a block is naturally generated or placed by a player. This mechanic is used for wooden tools in mods such as Aether and Aether II.

@Robolightning Robolightning changed the title [Suggestion] different block IDs list for naturally generated and player-supplied blocks [Suggestion] different block IDs list for naturally generated and player-placed blocks Apr 21, 2024
@Cadiboo
Copy link
Owner

Cadiboo commented May 8, 2024

I know that there is a way in the game to check whether a block is naturally generated or placed by a player.

There isn’t really.

This mechanic is used for wooden tools in mods such as Aether and Aether II.

I’ll take a look to see if I can figure out how they do it. Probably they just have a hardcoded list somewhere inside their mod.

This is a great idea in theory but it breaks down quickly when you realise that Sandstone is both a naturally generated (underneath sand in deserts) and man made (desert villages, desert temples) block

@Robolightning
Copy link
Author

I know that there is a way in the game to check whether a block is naturally generated or placed by a player.

There isn’t really.

This mechanic is used for wooden tools in mods such as Aether and Aether II.

I’ll take a look to see if I can figure out how they do it. Probably they just have a hardcoded list somewhere inside their mod.

This is a great idea in theory but it breaks down quickly when you realise that Sandstone is both a naturally generated (underneath sand in deserts) and man made (desert villages, desert temples) block

I know that it is. I used Aether II, it works.
So, need to think about the way to change what kind of block (usual or smoothed) player need to place

@Cadiboo
Copy link
Owner

Cadiboo commented May 9, 2024

Can you please describe the exact mechanic that you’re talking about in Aether II so I can replicate it myself with little prior knowledge of the mod?

@Robolightning
Copy link
Author

Robolightning commented May 9, 2024

Can you please describe the exact mechanic that you’re talking about in Aether II so I can replicate it myself with little prior knowledge of the mod?

Of course. In the Aether II mod there are item that named "Skyroot pickaxe". Every natural generated block (that can be mined by wooden pickaxe) mined by this tool — get double drop
Display_Skyroot_Pickaxe

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