-updated mappings version to latest
-updated Forge version to recommended
-made RayTraceHelper.rayTraceForRiftTools more readable, added a range setting to it and made it stop when your head is in a solid block
-added raytrace method for entities that also works on servers
-fixed Rift Blade's teleportation to Entities feature
-added random offset and yaw change based on the durability of the Blade
-added always ending up facing the Entity after teleport
Co-Authored-By: Corail31 <corail31@users.noreply.github.com>
-Copied over Vanilla raytrace code and made some slight adjustments, because Vanilla assumes that you never want a RayTrace to hit a non-solid block that is not a liquid.
-Rift Blade, Rift Configuration Tool, Rift Remover and Rift Stabiliser can now hit underwater Rift Tears
-Rift Configuration Tool can now hit non-RiftTear Rifts
-Fixes #71
- Made Schematics load into RAM as byte arrays at the start of game instead of as NBT (saves +- 1GB of RAM) (SH)
- Added checks for non-default schematics to make sure they contain valid NBT at game start (SH)
- Made sure that invalid templates/schematics aren't even added to the array (SH)
- Made sure that PocketTemplate loads Schematic from byte array before it tries to place it (PT)
- Made sure that PocketTemplate unloads Schematic after placinf it (PT)
- Made sure that TileEntityRift doesn't check its Location while PocketTemplate is replacing placeholders in Schematics (otherwise it will try to use null worlds and shizzle) (TER and PT)
- Added functionality when saving a Schematic, this should put the Schematic in memory as a byte array (SH)
- Fixed little bug, where Schematics that would be too big, would only be loaded when configured not to (SH)
- Added functionality to keep the Schematics that are placed most loaded in RAM as NBT (combination of usageList and usageMap) (SH and PT)
- Added config option to set the maximum number of Schematics that will be cached as NBT (MC and SH)
- Made sure that Dimdoors.log is consistently used (SH)
- Added check for .json file extension for files in the json config folder (SH)
- Schematic files in the jar have had the .schem extension for a while now. Generalised a bit. (SH)
-Fixed length and height being swapped in Cubic Chunks Schematic Placement (stumbled upon this
-Fixed gateways partially generating at y level 16 if the (cubic) chunk they *should* be in was totally empty / 100% air (storage = null), because yBase wasn't taken into account.
- Read through most of the code, fixing small issues, renaming variables to clearer names, explaining less clear things
- Remove many fixed todos and remove feature-suggestion todos in favor of the Github issue tracker
- class CommonProxy -> interface IProxy (even the name CommonProxy makes no sense, why would you need to proxy something common to both the client and the server!)
- Match minecraft naming convention
- Autoformat classes
A few issues fixed:
- Make rift work in both top and bottom door block
- Change transient portal material to "portal" for correct vanilla logic
- Make doors ignore closeAfterPassThrough (that made no sense lore-wise, dimensional portals close because they are fragile and the player passing through breaks them)
* Fix dimensional door and trapdoor arm swing
* Make trapdoor animation render above the ground rather than below
* Allow rift signatures to replace any replaceable source block
* Send message when rift signature fails because the block at the stored location is no longer replaceable