Entity_Food_Script: type: world debug: false events: on delta time secondly every:5: - define data - define world_animals ]||null> - if <[world_animals]> != null: - foreach <[world_animals]> as:animal: - if !<[animal].is_spawned> || !<[animal].location.chunk.is_loaded>: - stop - define blocks <[animal].location.find.surface_blocks[HAY_BLOCK].within[<[data].data_key[block_limit]>]||null>