697b0da59f
Although fields were created in DDProperties for Monolith spawning and Rift generation, they were mislabeled as reading the "World Rift Generation Enabled" property. I gave them proper names. I also changed the fields and names to be more intuitive and rewrote the descriptions. For instance, "MonolithSpawnDensity" is a misnomer because as density increases, there should be more Monoliths, not less. Now the properties clearly state how they affect a feature. I rewrote the conditions that used each property to correspond with those simplified descriptions and gave the properties default values that will match the generation rates seen before. I also made the rift generation code less cryptic and fixed a bug; there was a check that compared if a dimension was a pocket dimension by its name to prevent rift generation. That name check was wrong - it would never work. Now we check if the provider is an instance of pocketProvider. That will continue working even if we change the way that pocket dimensions are named. |
||
---|---|---|
.. | ||
blocks | ||
commands | ||
helpers | ||
items | ||
ticking | ||
world | ||
BlankTeleporter.java | ||
CloudRenderBlank.java | ||
CommonProxy.java | ||
CommonTickHandler.java | ||
ConnectionHandler.java | ||
DDLoot.java | ||
DDProperties.java | ||
DimData.java | ||
DimUpdatePacket.java | ||
DungeonGenerator.java | ||
EventHookContainer.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 |