Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Conversation

@rosacarmesin
Copy link

Adds NMSFeatureGrower, which grows based on configuredFeatures through NMS, with name nmstree in config
when generating trees should it fail once it'll attempt to grow them a second time with the randomHeight attributes in the trunk generator set to 0

Copy link

@Diet-Cola Diet-Cola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid PR, only left some minor notes but not enough to be blocking worthy

Will get on test

featureSmall = RBFeatures.SHORT_SPRUCE.value();
break;
case OAK_SAPLING:
feature = this.hasFlowers(world, pos) ? TreeFeatures.OAK_BEES_005.value() : TreeFeatures.OAK.value();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small note but does NMS not contain a method to do this for us?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifically checking nearby for flowers

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does but it's private so I copied it over

BlockPos blockposition1;

do {
if (!iterator.hasNext()) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this iterator loop be better as a

while(iter.hasNext()) {
 //logic etc
}

@rosacarmesin
Copy link
Author

fixed flowering azalea not growing rosacarmesin@1c7c136

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants