summaryrefslogtreecommitdiffstats
path: root/cwd/assets
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cwd/assets/altcraft/scripts/blocks.lua6
-rw-r--r--cwd/assets/altcraft/scripts/init.lua4
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