PolyhedralDev / Terra

Voxel world generation modding platform
MIT License
642 stars 85 forks source link

Add number predicate addon #412

Closed Astrashh closed 11 months ago

Astrashh commented 11 months ago

Pull Request

Brief description.

Adds a loader for java.util.function.DoublePredicate that uses paralithic for evaluation. Uses value as an invocation variable representing the predicate input.

Example expression: 5 < value && value < 10 returns true for inputs between 5 and 10,

PR intends on adding a loader for use in #413

Licensing

Types of changes

Compatiblity

Contribution Guidelines.

Documentation

Testing