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

Prevent unnatural trees from falling down, e.g. parts of houses #7

Open
renbinden opened this issue Feb 2, 2014 · 3 comments
Open
Labels

Comments

@renbinden
Copy link
Collaborator

Gotxi May 24, 2013 at 13:10

The plugin doesn't recognize if it is a real natural tree or log blocks in a rustic house, if you put some log blocks in your house and you break them, the log blocks falls in cascade.

ATalkingRock Mar 23, 2013 at 08:29

make it so logs dont do the falling physics action if they're placed logs. Some houses can be griefed

twisted067 Sep 26, 2012 at 04:31

Can you make it so this works only on tree logs? not placed logs

@ghost ghost assigned renbinden Feb 2, 2014
@Vovics
Copy link
Owner

Vovics commented Feb 3, 2014

The only way recognize tree is to listen natural grow event, and then write that information in some sort of database.
As i know, blocks metadata is not saving/restoring after server restart.

@renbinden
Copy link
Collaborator Author

It would be possible, however, to do a simple detection as to how many leaves are nearby. If there's more man made materials, let's say, then it's more likely to be part of a house than a tree. If there's a large amount of leaves, then it should fall.

@Vovics
Copy link
Owner

Vovics commented Feb 3, 2014

In current implementation, any material, different from tree parts, will prevent tree from falling.
Players construction will be affected if they have only "LOG" or "LEAVES" blocks.

@renbinden renbinden removed their assignment Mar 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants