Open AgainPsychoX opened 2 years ago
Feature request: Allow use of constants (and variables?) for defining every period, substitute with and without the time unit.
every
every {?fuel_per_coal}s { say doing something }
Following compiles, but result in invalid mcfunction generation:
mcfunction
every ?fuel_per_coal { say doing something }
(generated mcfunction)
say doing something schedule function zzz_minity:minecarts_nowadays/_b_8 180null
despite how the constant was defined, both:
?fuel_per_coal = 180 ?fuel_per_coal = 180s
Feature request: Allow use of constants (and variables?) for defining
every
period, substitute with and without the time unit.Motivation example
Note
Following compiles, but result in invalid
mcfunction
generation:(generated
mcfunction
)despite how the constant was defined, both: