Commit graph

1741 commits

Author SHA1 Message Date
Robijnvogel
5b84baf77e Removed dungeons from RAM
- 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)
2018-06-18 20:45:32 +02:00
Waterpicker
d905340dc7 Pushed Nether Gateway stuff 2018-06-16 09:02:24 -05:00
Waterpicker
e63ae52823 Added config option to use enderpearls in crafting recipes and disable stable fabric when doing so. 2018-05-22 04:35:54 -05:00
Runemoro
bd805a4965
3.0.9 2018-04-26 17:12:18 -04:00
Runemoro
9c97ced5c8 Remove VanillaFix from DimDoors 2018-04-26 03:05:22 -04:00
Runemoro
fee6700074 Fix mod not loading 2018-04-26 00:00:30 -04:00
Runemoro
29307cfc08 Embed mixin 2018-04-25 23:01:44 -04:00
Runemoro
662e11ff4c Fix teleport sometimes breaking 2018-04-25 16:11:51 -04:00
Runemoro
32bac210ff Fix MC-128953 2018-04-25 14:59:32 -04:00
Runemoro
774084be35 Implement NoCrash 2018-04-25 02:20:10 -04:00
Runemoro
5095518b44 Fix lots of vanilla teleportation-related bugs 2018-04-24 20:02:42 -04:00
Runemoro
7a5d7aecb6 Fix players being set on fire after teleporting 2018-04-23 00:45:00 -04:00
Runemoro
1696e85d1f Improve build time 2018-04-20 17:48:51 -04:00
Runemoro
918cec3cf5 Make travis cache gradle dependencies 2018-04-20 16:40:52 -04:00
Runemoro
697a64efbb Fix rift registry not unloading when changing worlds 2018-04-20 16:18:36 -04:00
Runemoro
54d53a4568 Fix a few bugs 2018-04-20 02:13:15 -04:00
Runemoro
32f77b8b9d Fix #53 and #54 2018-04-18 19:21:10 -04:00
Runemoro
c7285491b9 Fix #51 2018-04-17 22:52:24 -04:00
Runemoro
ca5bd0e540 Fix render and register default targets 2018-04-17 21:02:49 -04:00
Waterpicker
4702b913c9 Added proper animated texture for limbo disc. 2018-04-15 13:16:37 -05:00
Waterpicker
684daa6a5e Added record for the limbo music creepy. 2018-04-14 06:04:48 -05:00
Runemoro
5961727b3c Targets 2018-04-09 05:12:56 -04:00
Robijnvogel
bb1907c672 Fixed gateways generating half of themselves 48 blocks lower
-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.
2018-04-07 15:01:28 +02:00
Runemoro
e080ddaa4a Code readability improvements
- 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)
2018-04-07 01:28:02 -04:00
Runemoro
a2e7689935 Improvements to tools
* 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
2018-04-06 02:16:37 -04:00
Runemoro
cb0cadce5b Fix dimensional trapdoor render
* Fix horizontal entrance render
 * Simplify and optimize code
 * Deobfuscate remaining variables
2018-04-06 01:29:23 -04:00
Runemoro
225b5954c0 Graphics improvements and bug fixes
* Fix hand not swinging for all items
 * Fix dimensional trapdoor being registered client-side
 * Make rift blade teleport near the entity rather than on it
 * Rift jitter adjustment and config option
 * Remove "In" suffixes and "par" prefixes from remaining parameters
2018-04-05 23:46:16 -04:00
Runemoro
3cb768bdd2 Add rift stabilizer and adjust recipes 2018-04-05 18:42:02 -04:00
Runemoro
b99f624ccf Update version 2018-04-05 15:35:01 -04:00
Runemoro
33eac07f01 A few final changes
* Update readme
 * Reduce rift jitter
 * Rift size config option
 * Crafting recipes for colored fabric
 * Lang strings for config options
2018-04-05 08:34:58 -04:00
Runemoro
17c1471087 Colored ancient fabric 2018-04-05 06:06:06 -04:00
Runemoro
e280953566 Refactor a few things
* Reorganize build.gradle
 * Upgrade gradle to 4.6
 * Rename items in code to match actual names
 * Reformat JSON
 * Remove rift item
 * Move rift tile entity to tileentities package
 * Remove unnecessary .gitignore entries
2018-04-05 04:44:24 -04:00
Runemoro
1c78b5e629 Fix door right-click close to rift 2018-04-05 00:40:07 -04:00
Runemoro
d0cfbe08ac Fix eternal fabric and dimensional trapdoor 2018-04-04 23:07:19 -04:00
Runemoro
5f8375a693 Rift render and right-click improvments
- Highlight rift core when trying to place a door next to a rift, and warn player about instability (place again to confirm placing next to rift)
 - Clean up LSystem class
 - Make rifts jitter less
 - Stop rift particle flicker, lower max age
 - Make rifts grow a bit slower
 - Replace option to use old animation with option to highlight the rift core
 - Make rift render yaw match teleport target yaw
2018-04-04 02:09:05 -04:00
Runemoro
ba887a4066 Remove initializer from @SideOnly(CLIENT) (again!) 2018-04-03 23:10:40 -04:00
Runemoro
92a057eb96 Workaround for classloader bug 2018-04-03 20:56:14 -04:00
Runemoro
f51265298d Rift appearance and closing improvements
* Made rifts emit light
 * Improved rift edges
 * Made rifts jitter
 * Rift removal tool slowly closes rift
2018-04-02 17:43:23 -04:00
Runemoro
e13943d281 Port old rift renderer 2018-04-02 01:30:29 -04:00
Runemoro
56afc7b1d5 Add SchematicProcessor tool 2018-03-29 01:55:29 -04:00
Runemoro
4c484166dc Make local/relative destinations when possible 2018-03-29 01:14:36 -04:00
Runemoro
b87a810d2c Merge multiline lang keys 2018-03-28 21:39:32 -04:00
Runemoro
4cce94bb3b Remove initializer from @SideOnly(Side.CLIENT) fields 2018-03-28 20:50:29 -04:00
Runemoro
39db057e99 Fix null pointer 2018-03-28 19:45:47 -04:00
Runemoro
31c0f9c676 Config localization and tile entity simplification 2018-03-27 16:17:15 -04:00
Runemoro
8cd3b8606c Fix duplicate config defaults
* Remove defaults from config strings, forge adds these automatically
 * Inline default options constatns to make changing the defaults easier
 * Reformat config
2018-03-26 20:41:16 -04:00
Runemoro
20bcdd19ed Make items set up the rifts
* Finish renaming all the door blocks in the code to their material (iron, oak, quartz, gold)
 * Have the item set up the rift
 * Remove the chaos door block
 * Remove rotation from entrance rift, and add rotation (teleportTargetPitch/Yaw) to floating rifts (fixes relative rotation in dungeons)
 * Add get(Source/Destination)(Pitch/Yaw) abstract methods to the base rift class
 * Move tpOffset into a config option rather than a per-rift setting
 * Simplify the rift tile entity fields
 * Remove unused imports
2018-03-26 20:34:22 -04:00
Runemoro
7949251ecd Lang file improvements and more French localization 2018-03-20 21:00:40 -04:00
Runemoro
599804a914 Fix door relative rotation (dungeon schematics will have to be fixed too) 2018-03-20 19:09:23 -04:00
Robijnvogel
24c02fba5d One x too little
- Repaired a small mistake I made.
2018-02-28 18:46:52 +01:00