From 24a8456f79aa35cfe8c3859c880e1bffeae088c6 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Sat, 11 May 2019 15:43:26 -0400 Subject: Create Ender Portal with Eyes of Ender (#4126) The algorithm was designed so All portals must be facing the center, no matter which block had the eye inserted in last. Note: Still need to create a block entity so that portals don't become invisible when you relog. Addresses part of #3445 Fixes #3695 --- src/BlockID.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/BlockID.h') diff --git a/src/BlockID.h b/src/BlockID.h index 6a1eefac4..d7b362c41 100644 --- a/src/BlockID.h +++ b/src/BlockID.h @@ -659,6 +659,18 @@ enum ENUM_BLOCK_META : NIBBLETYPE E_META_DOUBLE_STONE_SLAB_SMOOTH_SANDSTONE = 9, E_META_DOUBLE_STONE_SLAB_TILE_QUARTZ = 10, + // E_BLOCK_END_PORTAL_FRAME metas: + E_META_END_PORTAL_FRAME_ZP = 0, // Faces towards centre of portal + E_META_END_PORTAL_FRAME_XM = 1, + E_META_END_PORTAL_FRAME_ZM = 2, + E_META_END_PORTAL_FRAME_XP = 3, + E_META_END_PORTAL_FRAME_ZP_EYE = 4, // Frames with ender eye + E_META_END_PORTAL_FRAME_XM_EYE = 5, + E_META_END_PORTAL_FRAME_ZM_EYE = 6, + E_META_END_PORTAL_FRAME_XP_EYE = 7, + E_META_END_PORTAL_FRAME_NO_EYE = 0, // Just the eye bitflag + E_META_END_PORTAL_FRAME_EYE = 4, + // E_BLOCK_FLOWER metas: E_META_FLOWER_POPPY = 0, E_META_FLOWER_BLUE_ORCHID = 1, -- cgit v1.2.3