RewardPool

object RewardPool

The pool of "safe" materials handed out as /recycle rewards. Built once at enable time by scanning every Material and excluding air, technical blocks, and high-value materials, so rewards stay ordinary and non-exploitable.

(Formerly misnamed BlacklistedItems — it is in fact the allow-list of reward-eligible materials.)

Properties

Link copied to clipboard
val items: List<Material>

Materials eligible to be given out as a recycle reward.

Functions

Link copied to clipboard
fun random(): Material?

A random reward material, or null if the pool is empty.

Link copied to clipboard
fun setup()

(Re)builds the reward pool. Safe to call again on reload.