master #5

Merged
NO11 merged 42 commits from VoxeLibre/VoxeLibre:master into master 2021-08-11 17:38:46 +02:00
1 changed files with 8 additions and 1 deletions
Showing only changes of commit cd08df175c - Show all commits

View File

@ -23,7 +23,14 @@ Accept folowing params:
```lua ```lua
mcl_buckets.register_liquid({ mcl_buckets.register_liquid({
itemname = "dummy:bucket_dummy", itemname = "dummy:bucket_dummy",
source_place = "dummy:dummy_source", --source_place = "dummy:dummy_source",
source_place = function(pos)
if condition then
return "dummy:dummy_source"
else
return "dummy:dummy_source_nether"
end
end,
source_take = {"dummy:dummy_source"}, source_take = {"dummy:dummy_source"},
inventory_image = "bucket_dummy.png", inventory_image = "bucket_dummy.png",
name = S("Dummy liquid Bucket"), name = S("Dummy liquid Bucket"),