Cave Factory --Reimagined--4.7.zip
What's new
Please accept my apologies for the difficulties with last night's upload. I have verified the startup files, tested resource generation, and confirmed the successful implementation of the Void Core. I am committed to preventing these issues in the future and appreciate your understanding.
World Generation
-
Changed the End dimension to be a solid block of End Stone 254 blocks tall, capped by bedrock at the top and bottom.
-
Changed the Overworld to be 384 blocks tall, filled with solid stone and capped by bedrock at the top and bottom.
-
Set players to spawn inside a custom starting room in the End instead of the Overworld when logging in for the first time.
Custom Teleporter Block
-
Registered a new custom block called the End Teleporter.
-
Modeled a translucent glass display-case block with an industrial pedestal frame and a floating miniature End Stone core inside using Blockbench.
-
Configured the block's render type to translucent in the startup script to ensure the interior renders correctly inside the game.
Teleportation & Performance Code
-
Programmed the teleporter to warp players to the End when they crouch-right-click it with an empty hand.
-
Fixed KubeJS code bugs, updating the hand check to use Java's native
.name()method and moving event cancellation to the end of the script to prevent silent failures. -
Added safety features to prevent players from suffocating or falling when loading in, including raising the spawn height to Y=60, carving out a temporary air pocket, and granting a short resistance buff.
-
Fixed a dark lighting issue by using a "double-tap" generation method that pastes the structure template twice, forcing the lighting engine to update and illuminate the room.
Entity Spawning & Bosses
-
Set up an In Control! rule to block all natural mob spawning in the End while allowing custom monster spawners to function normally.
-
Wrote a post-tick script that instantly deletes the Ender Dragon if it spawns to protect the factory build without triggering death animations.
-
Created a startup script that hooks into Forge events to prevent Shulkers in the End from teleporting when hurt, keeping their combat AI active.
Quest System
-
Created an invisible FTB Quest that triggers when entering the End, rewarding players with a Waystone Warp Stone.
Mod Additions
-
Added the Create: Connected mod to introduce self-contained fan catalyst blocks for safe, compact bulk processing.
-
Added the Extreme Sound Muffler mod to help players manage and quiet down noisy automated machines in their factories.
Custom Recipes
-
Created a custom 21-block Mechanical Crafter recipe for the End Teleporter block (
kubejs:end_teleporter). -
Configured the recipe pattern using a 5x5 grid with empty corners: Obsidian forms the outer ring, Ender Pearls form a centered cross shape, and an Eye of Ender sits in the absolute center.
Custom Boss Drops
-
Registered a new end-game boss drop item called the Void Core (
kubejs:void_core). -
Wrote a LootJS server script to modify the Wither's loot table globally. This script removes the standard Nether Star drop and replaces it with your new custom Void Core across all dimensions.

