diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2020-07-27 06:05:53 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2020-07-27 06:05:53 +0200 |
commit | d899b21504c02cae99eb3688e561cf9bad4120c4 (patch) | |
tree | bfa380e1b81ab848766becff8322e783e4dcde1a /cwd | |
parent | Merge pull request #40 from LaG1924/lua-scripting (diff) | |
download | AltCraft-d899b21504c02cae99eb3688e561cf9bad4120c4.tar AltCraft-d899b21504c02cae99eb3688e561cf9bad4120c4.tar.gz AltCraft-d899b21504c02cae99eb3688e561cf9bad4120c4.tar.bz2 AltCraft-d899b21504c02cae99eb3688e561cf9bad4120c4.tar.lz AltCraft-d899b21504c02cae99eb3688e561cf9bad4120c4.tar.xz AltCraft-d899b21504c02cae99eb3688e561cf9bad4120c4.tar.zst AltCraft-d899b21504c02cae99eb3688e561cf9bad4120c4.zip |
Diffstat (limited to 'cwd')
-rw-r--r-- | cwd/assets/altcraft/scripts/blocks.lua | 6 | ||||
-rw-r--r-- | cwd/assets/altcraft/scripts/init.lua | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cwd/assets/altcraft/scripts/blocks.lua b/cwd/assets/altcraft/scripts/blocks.lua index 325a8fc..5678677 100644 --- a/cwd/assets/altcraft/scripts/blocks.lua +++ b/cwd/assets/altcraft/scripts/blocks.lua @@ -301,9 +301,9 @@ local function RegisterBlocks() AC.RegisterBlock(BlockId.new(89,0), true, "glowstone", "normal") - AC.RegisterBlock(BlockId.new(90,0), true, "portal", "axis=z") - AC.RegisterBlock(BlockId.new(90,1), true, "portal", "axis=x") - AC.RegisterBlock(BlockId.new(90,2), true, "portal", "axis=z") + AC.RegisterBlock(BlockId.new(90,0), false, "portal", "axis=z") + AC.RegisterBlock(BlockId.new(90,1), false, "portal", "axis=x") + AC.RegisterBlock(BlockId.new(90,2), false, "portal", "axis=z") AC.RegisterBlock(BlockId.new(93,0), true, "unpowered_repeater", "delay=1,facing=east,locked=false") AC.RegisterBlock(BlockId.new(93,1), true, "unpowered_repeater", "delay=1,facing=south,locked=false") diff --git a/cwd/assets/altcraft/scripts/init.lua b/cwd/assets/altcraft/scripts/init.lua index 5021a00..96b5ec3 100644 --- a/cwd/assets/altcraft/scripts/init.lua +++ b/cwd/assets/altcraft/scripts/init.lua @@ -40,5 +40,9 @@ function plugin.onRequestBlockInfo(blockPos) return blocks.GetBlockInfo(blockPos) end +AC.RegisterDimension(0, Dimension.new("overworld", true)) +AC.RegisterDimension(-1, Dimension.new("the_nether", false)) +AC.RegisterDimension(1, Dimension.new("the_end", false)) + AC.RegisterPlugin(plugin) plugin = nil
\ No newline at end of file |