e96fc02747
Started implementing our support for dungeon packs. The code is not usable yet and the mod is not functional at this stage. A few additional changes should make it testable. A significant obstacle to implementing dungeon packs easily is that DungeonGenerator doesn't have some necessary information and shouldn't be modified. Even if it is modified, old serialized instances wouldn't have the new fields initialized. I'm having to create workarounds until we implement the new save format. DungeonPack handles all of the logic of selecting a dungeon and verifying whether its type is valid. It relies on DungeonChainRule and OptimizedRule to check which dungeons should be generated next given a list of the dungeons in a chain. DungeonType maps types in packs to ID numbers and provides a reference to the pack that owns the type. DungeonPackConfig will carry config information to be passed to the DungeonPack constructor. |
||
---|---|---|
.. | ||
blocks | ||
commands | ||
dungeon | ||
helpers | ||
items | ||
schematic | ||
ticking | ||
util | ||
world | ||
BlankTeleporter.java | ||
CloudRenderBlank.java | ||
CommonProxy.java | ||
ConnectionHandler.java | ||
DDLoot.java | ||
DDProperties.java | ||
DimData.java | ||
DimUpdatePacket.java | ||
DungeonGenerator.java | ||
EventHookContainer.java | ||
LimboDecay.java | ||
LinkData.java | ||
mod_pocketDim.java | ||
ObjectSaveInputStream.java | ||
PacketHandler.java | ||
PlayerRespawnTracker.java | ||
pocketTeleporter.java | ||
Point3D.java | ||
RiftGenerator.java | ||
SchematicLoader.java | ||
ServerPacketHandler.java | ||
Spells.java | ||
TileEntityDimDoor.java | ||
TileEntityDimRail.java | ||
TileEntityRift.java | ||
TransientDoor.java |