Terra (Fabric/Forge/Paper)

Terra (Fabric/Forge/Paper)

74.2k Downloads

[Bug] Tree distribution not working as expected

astrsh opened this issue ยท 0 comments

commented

Pre-Issue Checklist

  • I have checked that I am on the latest version of Terra.
  • I have searched the github issue tracker for similar issues, including closed ones.
  • I have made sure that this is not a bug with another mod or plugin, and it is Terra that is causing the issue.
  • I have checked that this is an issue with Terra and not an issue with the pack I am using.
  • I have filled out and provided all the appropriate information.

Environment

Name Value
Terra Version 5.4.0-BETA-ef8a5b14
Platform / Platform Version Fabric loader 0.11.3 MC 1.17
Any External Plugins or Mods Fabric API, Lazy DFU, Lithium, Starlight
Terra Packs In Use Pack made to debug this issue
Terra Addons In Use N/A

Issue Description

TreeLayer.distribution doesn't correctly distribute TreeLayer.items.

Steps to reproduce

Specify a TreeLayer like so:

trees:
  - items:
      - RED: 1
      - BLUE: 1
    density: 100
    distribution:
      type: OpenSimplex2
    y: { min: 0, max: 255 }

Expected behavior

There should be a pattern of red / blue trees distributed according to the specified distribution noise config.

Actual behavior

image