-
Notifications
You must be signed in to change notification settings - Fork 5
Add NMS feature growers #39
base: master
Are you sure you want to change the base?
Conversation
Diet-Cola
left a comment
There was a problem hiding this 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(); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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()) { |
There was a problem hiding this comment.
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
}
|
fixed flowering azalea not growing rosacarmesin@1c7c136 |
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