G.L.A.S.S Remastered
The return of a legendary mod! The updated version of G.L.A.S.S is once again available for Minecraft, though it's important to note that the project is in early development stages.
Current Project Status
The mod is in alpha version and not recommended for survival mode use. Due to the developer's limited time related to moving to university, the current build requires further refinement. Textures, block models, and interface are not yet final, and some important features are missing:
- Synchronized multi-face projections
- Survival mode recipes
- Optimized textures, models, and stable connections between panels and their terminals
Be prepared for bugs - this version demonstrates the concept rather than being a finished product. Your feedback will help improve the mod in the future!
How to Use
Place the "G.L.A.S.S Terminal" block from the redstone section and create a new projection channel or use the default one. After linking the terminal to a channel, you can build the projection plane. Place the "G.L.A.S.S Projector" in the desired direction and use glass blocks to extend the projection!
Known Issues and Solutions
- If the projection doesn't disappear after turning off the projector, disable all projectors in the world and execute the command
/kill @e[type=immersive_portals:portal]. The issue is caused by client-server desynchronization. - It's impossible to type the letter
ein the terminal's channel name field - the reason for this oddity is unknown.
Technical Features
The mod uses the Immersive Portals API to create seamless portals with customizable shapes. The core mechanism is based on dynamically creating a bounding box (BoundingBox2D class) by scanning nearby glass blocks. This bounding box determines portal dimensions considering the relative positions of glass blocks around the projector.
Portals are created through the Custom Shape API using SpecialFlatPortalShape. Glass block coordinates are normalized and added to a 2D mesh (Mesh2D), where appropriate transformations are applied to fit specified dimensions. This enables creation of complex non-rectangular portal shapes, providing builders with more design possibilities.
When the projector is activated, the mod calculates the correct portal orientation and size based on the bounding box and projector direction. The created portal is placed in the world and dynamically updated with flip and shape adjustment capabilities. The channel system ensures portal connection to the required dimension, allowing creation of immersive structures with interconnected dimensions.