mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-07-15 14:50:26 +02:00
properly detect and use sounds from default/mcl
This commit is contained in:
21
api.txt
21
api.txt
@ -70,3 +70,24 @@ A handy function that starts a crops timer with a randomly selected time set by
|
||||
stage_length setting. This is mostly used for special functions or 3rd party mods.
|
||||
|
||||
farming.start_seed_timer(pos)
|
||||
|
||||
|
||||
Node Sounds
|
||||
-----------
|
||||
|
||||
Farming Redo will detect wether the Default mod or MineClone/VoxeLibre mod is active and
|
||||
store whichever sound set is available inside the following to save any other farming
|
||||
mods from having to detect it themselves:
|
||||
|
||||
farming.node_sound_defaults()
|
||||
farming.node_sound_stone_defaults()
|
||||
farming.node_sound_dirt_defaults()
|
||||
farming.node_sound_sand_defaults()
|
||||
farming.node_sound_gravel_defaults()
|
||||
farming.node_sound_wood_defaults()
|
||||
farming.node_sound_leaves_defaults()
|
||||
farming.node_sound_ice_defaults()
|
||||
farming.node_sound_metal_defaults()
|
||||
farming.node_sound_water_defaults()
|
||||
farming.node_sound_snow_defaults()
|
||||
farming.node_sound_glass_defaults()
|
||||
|
Reference in New Issue
Block a user