Started by
Zavgar4
on
Topic category: Help with modding (Java Edition)
I want to make a portal without a dimension, i mean player can build frame using sandstone and use Flint and Steel on it ti spawn blocks inside portal! I want to make blocks teleport in Biome, but i don't want to create custom dimension! Can anyone help me?
You Need to do a procedure that detects when you use flint and steel, and with coordinates It has to detect if there Is the portal shape with the right blocks around It, if yes also with coordinates you'll make It spawn blocks inside
Example:
If get block at x y-1 z = sandstone AND
get block at x-1 y-1 z = sandstone AND
get block at x+1 y-1 z = sandstone AND
..............
..........
Do
Place block portal at x y+1 z
Place block portal at x-1 y+1 z
......
........