From bb25dc91d9a83a9f9031ad364f1cbbc1b39a4c7c Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Mon, 27 Dec 2021 22:49:09 +0500 Subject: Added RegisterLiquid to lua api --- cwd/assets/altcraft/scripts/blocks.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cwd') diff --git a/cwd/assets/altcraft/scripts/blocks.lua b/cwd/assets/altcraft/scripts/blocks.lua index 72a1599..dde4b57 100644 --- a/cwd/assets/altcraft/scripts/blocks.lua +++ b/cwd/assets/altcraft/scripts/blocks.lua @@ -33,6 +33,12 @@ local function RegisterBlocks() AC.RegisterBlock(BlockId.new(7,0), true, "bedrock", "normal") + AC.RegisterLiquid(BlockId.new(8,0), "blocks/water_flow", "blocks/water_still") + AC.RegisterLiquid(BlockId.new(9,0), "blocks/water_flow", "blocks/water_still") + + AC.RegisterLiquid(BlockId.new(10,0), "blocks/lava_flow", "blocks/lava_still") + AC.RegisterLiquid(BlockId.new(11,0), "blocks/lava_flow", "blocks/lava_still") + AC.RegisterBlock(BlockId.new(12,0), true, "sand", "normal") AC.RegisterBlock(BlockId.new(12,1), true, "red_sand", "normal") -- cgit v1.2.3