Commit graph

1089 commits

Author SHA1 Message Date
Robijnvogel
94277e5fac Old Dungeons' inventory contents
- Added a method to dynamically fetch the NBT_TYPE of NBTStringTags
 - Made Loot only generate into empty inventories
 - Rewrote the Loot generation code, to make it more concise by reusing previously duplicate lines
 - Removed dispenser_fire loot table, because the dispensers that needed to light something, can now do so with their old 0-durability Flint 'n Steel
 - Succesfully spent 4 hours writing Item NBT conversion code for that one Written Book's contents that took me 20 seconds to convert manually
2018-01-21 04:07:47 +01:00
Runemoro
7764839257 Fix workaround for EnchantingTable 2018-01-20 19:47:56 -05:00
Runemoro
24393783da Split PocketLib and workaround for EnchantingTable 2018-01-20 18:30:53 -05:00
Robijnvogel
c9d9d1f076 Fixing broken chestloot
- Added a method to dynamically fetch the NBT_TYPE of NBTTagCompounds
 - Re-added StringUtils
 - Added a simple String Array search method to StringUtils
 - Added a counter for pistons and tnt
 - Removed counter for Warp Doors on Sandstone, because we know those amounts by now.
 - Fixed the TileEntity NBT not getting read properly
 - Split the block counters from other logic
 - Expressed my rage
 - Moved `rift.markStateChanged();` to later, so it only has to be done once in-code
 - Patched the conversion of that one Warp Door that was placed on SandStone on the bottom of a pocket.
 - Made sure that Transient Portals DO close after they have been passed through.
 - Removed double replacement of Monoliths
 - Made sure that @runemoro 's generic TileEntity generation code writes to the **output** list of TileEntities
2018-01-20 20:20:38 +01:00
Runemoro
1d6481429c Fix registry and transient door bugs 2018-01-20 02:38:51 -05:00
Runemoro
8358fe30c5 Add missing tile entities for all blocks, not just chests and dispensers, and don't overwrite previous entities if they were there 2018-01-19 23:45:08 -05:00
Runemoro
7c34879757 Merge branch 'schematic-creation' into 1.12-WIP and fix conflicts 2018-01-19 23:26:01 -05:00
Runemoro
86b58c2f9e Default dungeon templates
- Add setBlockState to Schematic
 - Add Schematic constructors that generate an air-filled pocket of the right size
 - Add blank pockets
 - Add void pockets
 - Make /pocket command takes you to center of pocket
 - Quick registry null pointer fix
2018-01-19 23:20:44 -05:00
Runemoro
d8d3fa4fc9 Fix /saveschem and support loading schematics from save folder 2018-01-19 18:49:27 -05:00
Waterpicker
9fa97d6ff2 Simplified SaveSchem Code 2018-01-19 16:36:04 -06:00
Runemoro
5f37c4721d Load schematics alphabetically and log time taken 2018-01-19 17:16:50 -05:00
Waterpicker
2b8a3e1c86 Hooked into the PocketRegistry 2018-01-19 15:18:37 -06:00
Runemoro
ec1261af08 Move pocket info from schematic name to JSON
- Transferred author, open/closed, and weight info to the json, added nice names for some of the dungeons
 - CamelCase -> snake_case
 - Removed _o suffix
 - Changed all "1" and "2" suffixes to "a" and "b" for conistency, added "a" suffix when there was a file with a "b" suffix
 - Removed all "a"/"1" suffixes when there was only one
2018-01-19 15:58:57 -05:00
Waterpicker
874fa612aa Added SaveSchem Command and added Entity Support 2018-01-19 14:16:52 -06:00
Robijnvogel
f7f1bab5fc Dispenser Loot
- Added loot tables for Dispensers
 - Added block counters for dispensers and valuable blocks to SchematicConverter
2018-01-19 20:19:42 +01:00
Waterpicker
be1c8ceda8 First Draft for creating a scheamtic from a chunk of the world. 2018-01-19 12:54:39 -06:00
Robijnvogel
f4131ac34e Lang Files
- Changed "Unstable" Door to "Chaos" Door everywhere in the code and resources.
 - Moved "colours" from en_US to en_GB and put 'Murican "colors" in their place.
 - Added lang keys for coloured ancient fabric
 - Complemented nl_NL lang file
 - Fixed the loot generation of Fabric of Reality in dungeon chests (Temporarily was Alternate Fabric, because of the 2 -> 16 colour change.)
2018-01-19 16:21:08 +01:00
Robijnvogel
5aaa671328 Colourful Fabric
-Added textures of Coloured Fabric Blocks
-Enabled all the Coloured Fabric (fullbright colour) blocks
-Added English lang names for Coloured Fabric
2018-01-19 13:21:04 +01:00
Runemoro
d8765c98db French and romanian translations of fabric colors 2018-01-19 07:10:55 -05:00
Runemoro
b9a0736072 Fix rift subregistry being written before riftRegistry is loaded, fix missing square root 2018-01-19 06:41:08 -05:00
Robijnvogel
3d23749f34 Fixed server-sided Limbo music
-Fixed #35
-Changed the versioning format of jar files.
-Made Travis upload everything in the build folder.
2018-01-19 07:59:56 +01:00
Waterpicker
6a5321c35b Merge remote-tracking branch 'origin/1.12-WIP' into 1.12-WIP 2018-01-18 23:45:43 -06:00
Waterpicker
e7bf1b4b3a Hotfix for Sound code crashing. 2018-01-18 23:45:28 -06:00
Runemoro
25bf08ddfa Fix schematic conversion code for new blocks and null pointer in rift registry 2018-01-18 23:45:19 -05:00
Waterpicker
a62c461ff5 Added a new version of creepy to test. 2018-01-18 21:51:59 -06:00
Runemoro
7011b7d751 Merge 'origin/background-music' and fix conflicts 2018-01-18 22:42:07 -05:00
Runemoro
7fb9e8bd85 Update pockets and fix registry recursion bug 2018-01-18 22:30:51 -05:00
Waterpicker
61487a14ab Looping Background Music in Limbo works 2018-01-18 21:23:01 -06:00
Runemoro
87416e442d Split the fabrics and implement colored fabric, fix #29 2018-01-18 21:14:00 -05:00
Runemoro
92eb69c2e0 Implement transient entrances and rename them to transient portals 2018-01-18 14:24:09 -05:00
Runemoro
931b804b10 Revert to 1.6.4 schematics and other fixes
- Revert to 1.6.4 schematics
 - Fix iron doors being treated as wood doors
 - Fix crash when available link door has no LinkProperties
2018-01-18 13:48:05 -05:00
Robijnvogel
c8c706bac4 Added Dungeon Loot
-added loot table for the dungeon pocket's dungeon loot
-made chests in dungeons automatically populate with dungeon loot
2018-01-18 17:08:36 +01:00
Runemoro
b7095dcec4 More dungeon features
- Set dungeon weights
 - Implement warp door
 - Enable monoliths in dungeons
 - Set correct author on schematics (from file name)
 - Make grass in pockets less dark
 - Fix lighting bug
2018-01-18 03:15:36 -05:00
Runemoro
8fbd238fae Fix dungeon linking 2018-01-17 19:23:03 -05:00
Runemoro
86971a9871 Merge 'origin/1.12-WIP-Dungeons', fix conflicts and update to new destination system 2018-01-17 15:58:19 -05:00
Runemoro
7260e08648 Many fixes 2018-01-17 15:35:54 -05:00
Runemoro
efd787ef46 Merge changes correctly and fix most warnings 2018-01-17 01:12:22 -05:00
Runemoro
3968d9f527 Merge branch '1.12-WIP' of https://github.com/DimensionalDevelopment/DimDoors into 1.12-WIP 2018-01-17 00:44:46 -05:00
Runemoro
27cec3bcad Destination system and registry rewrite
- Major simplifincations to the TileEntityRift class and destination classes
 - Use a graph in the RiftRegistry for simpler tracking of rift sources and targets
2018-01-17 00:44:44 -05:00
Robijnvogel
84cd038186 Enabling Pocket Dungeons, Try 001
-Toned down default config values for Private and Public Pocket sizes
-Set up PocketTemplate, SchematicHandler and json files for future
dungeon weighting changes
-Converted normal doors in old pocket schematics to DimDoors
(SchematicConverter)
-Tried to enable Transient Doors
-Tried to add destinations to in-pocket rifts, a.k.a. Warp Doors and
Iron Dimensional Doors (SchematicConverter)
2018-01-17 00:19:37 +01:00
ZombieHDGaming
e17921136b General changes and fixes 2018-01-15 17:33:39 -05:00
Robijnvogel
e8e8794811 Fixed Public and Private pocket sizes
-Fixed configured Public and Private pocket sizes not being taken into
account when loading the game, and thus, when placing down pocket
schematics.
-Added config option to force-load all available schematics.

-Made Editing config defaults easier, by automatically adjusting
description strings.
-Changed dimensionranges functionality to use a bit more of Forge's
native functionality and only 1 list instead of two of which 1 would be
guaranteedly unused.
2018-01-13 20:03:12 +01:00
Robijnvogel
dde38384fa Fixed #21
-Upped the forge and mappings versions in build.gradle
-Restructured Mod Name and Dependencies strings in DimDoors.java

-Instead of returning a null bounding box in
BlockDimensionalDoorTransient#getBoundingBox, for now, return an empty
bounding box.
2018-01-13 17:17:45 +01:00
Waterpicker
2bbe9019fb Added sound effect to teleporting. 2018-01-11 17:45:38 -06:00
Waterpicker
8088502026 Fix monlith sounds. 2018-01-11 06:06:29 -06:00
Runemoro
a9a780c64c Update textures and models to 1.12 2018-01-11 04:08:04 -05:00
Runemoro
08a8123b2e Bug fixes 2018-01-11 00:37:14 -05:00
Runemoro
70922ceae1 Implement VirtualLocation and AvailableLink logic 2018-01-10 17:53:05 -05:00
Runemoro
75c2e5439f Merge branch '1.12-WIP' of https://github.com/DimensionalDevelopment/DimDoors into 1.12-WIP 2018-01-07 12:27:50 -05:00
Runemoro
29f9cfc6de Split AnnotatedNBT and bug fixes 2018-01-07 12:27:47 -05:00
Waterpicker
2ebe7491d7 Added Woven World Thread Armor Recipes 2018-01-07 07:31:06 -06:00
Runemoro
7748818ef3 Fix RFTools incompatibility 2018-01-06 23:41:33 -05:00
Runemoro
a03a87ea09 Fix rift signature recipes 2018-01-06 15:36:07 -05:00
Runemoro
bbfd3bc2c6 Fix rift not being placed when bottom door block is broken 2018-01-06 12:05:51 -05:00
Runemoro
a18b498804 Fix player not being teleported to pocket 2018-01-06 11:28:30 -05:00
Runemoro
4039f21587 Fix schematic place lag and broken torches 2018-01-06 11:20:51 -05:00
Runemoro
8c575270f3 Fix transient doors being solid 2018-01-06 09:31:28 -05:00
Runemoro
2b0fde9633 Bug fixes and code improvements 2018-01-05 20:33:19 -05:00
Runemoro
5ad37b1992 Bug fixes
- Fix rift signatures overwriting old rift/replacing blocks
 - Fix rifts placed by door break being refreshed by Minecraft
 - Fix pitch and yaw being inverted on teleport
2018-01-03 10:04:07 -05:00
ZombieHDGaming
abdfd49822 Fixed pocket lighting not updating properly 2018-01-02 13:56:50 -05:00
Runemoro
f5cc44e868 Rift colors 2018-01-02 09:39:18 -05:00
Runemoro
be184579e1 Implement placing doors on rifts 2018-01-02 06:44:25 -05:00
Runemoro
464f516a40 Make non-solid blocks decay to air in limbo 2018-01-02 05:01:01 -05:00
Runemoro
8f1ef8c7bf Stable rift signature 2018-01-02 04:40:12 -05:00
Runemoro
3ea7e958f0 Temporary fix for the "Waiting for chunk..." lag 2018-01-02 04:10:01 -05:00
Runemoro
21e0003871 Remove unused code 2018-01-01 23:26:21 -05:00
Waterpicker
6c1d784691 Added Woven World Thread Armor 2017-12-31 21:22:01 -06:00
Runemoro
ef9d1053d8 Make dimensional doors drop the regular door 2017-12-31 11:28:26 -05:00
Runemoro
0533f2007b Bug fixes
- Fix crash when monolith spawner is placed
 - Fix client crash when walking on eternal fabric
 - Fix ancient fabric being generated in Limbo rather than eternal fabric
2017-12-31 09:49:47 -05:00
Runemoro
90d86f8e03 Merge branch '1.12-WIP' of https://github.com/DimensionalDevelopment/DimDoors into 1.12-WIP 2017-12-29 20:59:18 -05:00
Runemoro
9cae32189f Deobfuscate limbo code 2017-12-29 20:59:12 -05:00
Waterpicker
f6f3f53e6e Attempt to fix rift animation bug. 2017-12-29 12:20:56 -06:00
ZombieHDGaming
abdf76d9c4 Fixes Rift Signature Logic with only one-sided teleports 2017-12-29 13:18:37 -05:00
Runemoro
99bb633b64 Fix gradle and jar 2017-12-29 06:43:12 -05:00
Runemoro
f4c2f42d43 Fix rift signature 2017-12-29 04:31:55 -05:00
Runemoro
0c4e916042 Merge remote-tracking branch 'origin/signature-wip' into 1.12-WIP 2017-12-29 02:21:55 -05:00
Runemoro
ba690bf99e Improvements 2017-12-29 02:18:34 -05:00
Runemoro
7dacc56bd7 AnnotatedNBT 2017-12-28 23:46:29 -05:00
Waterpicker
eacb9dcd84 Prototype version of rift signature. 2017-12-27 21:46:36 -06:00
Runemoro
2e5217a17c Clean up ddutils and bug fixes
- Removed unused utils
 - Use Java 8 streams API
 - Fix calculation of pocket id from coordinates
 - Fix /pocket tab completion and null pointer
2017-12-27 18:31:04 -05:00
Runemoro
0bbc2e4ebb com.zixiken -> org.dimdev 2017-12-27 02:49:36 -05:00
Runemoro
9b102a0174 Escape rift + rift remover crafting recipe 2017-12-26 20:29:40 -05:00
Runemoro
649bb9398b Bug fixes 2017-12-26 05:47:46 -05:00
Runemoro
7a65d60c4b Implement rift remover 2017-12-26 04:39:43 -05:00
Runemoro
07d6e48647 Fixes to teleportation logic 2017-12-26 04:17:24 -05:00
Runemoro
ffd8c6ed3c Split teleportation logic and make it extensible by other mods 2017-12-25 23:27:21 -05:00
Runemoro
c4560a78ba DimDoors beta 2017-12-24 07:54:59 -05:00
Runemoro
9e7646d047 Bug fixes
- Fix dimensional trapdoor
 - Fix world unload bug
 - Fix gradle bug
2017-12-24 04:36:33 -05:00
Runemoro
94cadce276 Fix sponge bug and improve rift setup system 2017-12-24 02:48:55 -05:00
Runemoro
de53f20420 A few fixes 2017-12-23 19:06:56 -05:00
Runemoro
00e02bd7ea Fix pocket schematics 2017-12-22 03:00:22 -05:00
Runemoro
02c7c61c73 Refactor utils 2017-12-21 20:29:37 -05:00
Runemoro
bc9c663741 Fix block properties 2017-12-21 17:28:23 -05:00
Runemoro
ff6ba0f7ba Merge horizontal and vertical entrances 2017-12-20 16:07:05 -05:00
Runemoro
0599a6d340 Rendering fixes
Redid the *RiftFX classes based on the old 1.6.4 code, but overriding ParticleSimpleAnimated.
2017-12-20 11:06:49 -05:00
Runemoro
3d50cd8fdf Gradle and travis improvements
- Simplify pocket schematic generation logic
 - Make pocket generator work without having to start Minecraft
 - Add `gradlew generatePocketSchematics` task
 - Fix travis double-build
2017-12-20 02:45:20 -05:00
Runemoro
70b35a2f5e Three fixes
- Fix ClosingRiftFX
 - Fix pocket command
 - Fix teleportation
2017-12-19 17:43:40 -05:00
Runemoro
02f22ddf76 Big fixes
- Disable void fog in pockets and change yBase back to 0
 - Remove depth info from pockets, we already have it in VirtualLocation
 - Fix texture name
 - Fix bug cloud/sky renderer crash
2017-12-19 15:30:06 -05:00
Runemoro
0ed714ed80 Merge branch '1.12-WIP' of https://github.com/DimensionalDevelopment/DimDoors into 1.12-WIP 2017-12-18 19:43:52 -05:00
Runemoro
485f6ad1ec Romanian translation 2017-12-18 19:43:49 -05:00
Waterpicker
0f0af64070
Altered Ancient Fabric Texture change. 2017-12-18 18:10:45 -06:00
Runemoro
3ee8b610ab Add ancient altered fabric 2017-12-18 18:56:57 -05:00
Runemoro
aba957bfdd Merge branch '1.12-WIP' of https://github.com/DimensionalDevelopment/DimDoors into 1.12-WIP 2017-12-18 18:09:33 -05:00
Runemoro
26b3035b77 Private pocket fixes 2017-12-18 18:09:31 -05:00
Waterpicker
ebfd75ace2
Fixed fullbright texture. 2017-12-18 16:51:56 -06:00
Runemoro
4c7c10f5d3 Biome fixes 2017-12-18 13:14:50 -05:00
Runemoro
30e735385f Fix teleportation 2017-12-18 01:48:58 -05:00
Runemoro
915bc41a08 Improvements
- Remove some unused code
 - Better logging
 - Bug fixes
 - Unify pocket placing and gateway placing code
2017-12-17 05:40:45 -05:00
Runemoro
cc952a642f Fix models 2017-12-17 03:10:32 -05:00
Runemoro
d9c2c70616 Upgrade gradle and fix gitignore 2017-12-16 20:44:23 -05:00
Runemoro
c1adea280b Fix teleportation 2017-12-16 04:22:29 -05:00
Runemoro
c4a42cc76a Private pocket fixes 2017-12-15 22:41:18 -05:00
Runemoro
15eccab45a Registry rewrite part 3 2017-12-15 21:04:54 -05:00
Runemoro
f248ac7fcb Merge branch '1.12-WIP' into registry-rewrite 2017-12-14 00:42:23 -05:00
Runemoro
9c63a9d73e More fixes 2017-12-14 00:42:10 -05:00
Waterpicker
36270f7e11 Fixed the look of the personal pocket dimensions. 2017-12-13 23:35:53 -06:00
Waterpicker
e6ccd18c51 Half attempt at fixing transient doors. 2017-12-13 21:10:24 -06:00
Runemoro
a92e657b12 A few fixes 2017-12-13 21:06:58 -05:00
Runemoro
b1efc3592c Merge branch '1.12-WIP' into registry-rewrite 2017-12-13 14:57:16 -05:00
Runemoro
3189567200 Lombok and gradle fixes 2017-12-13 14:51:02 -05:00
ZombieHDGaming
144227fc11 Refixes BlockFabric 2017-12-13 14:29:27 -05:00
Waterpicker
8f43eac20b Fixed various rendering stuff - transient doors and limbo looks. 2017-12-13 11:15:10 -06:00
Runemoro
77841f2abb Registry rewrite part 2 2017-12-13 03:24:56 -05:00
Runemoro
c2f3c50cb2 Fix gateways 2017-12-10 21:12:29 -05:00
Runemoro
be520b1b41 Convert schematics 2017-12-10 20:26:05 -05:00
ZombieHDGaming
fa469df71f More changes to the BlockFabric class 2017-12-10 16:03:36 -05:00
Waterpicker
858874b66b Push of current world generation code. Doesn't compile yet. 2017-12-10 03:22:19 -06:00
ZombieHDGaming
825dc5831e Enum Changes 2017-12-09 20:58:26 -05:00
Runemoro
a42801e31d Fix creative tab 2017-12-09 20:27:49 -05:00
Runemoro
06d08c77d3 Merge branch '1.12-WIP' into registry-rewrite 2017-12-09 19:51:36 -05:00
Runemoro
48a003012a Small fix 2017-12-09 19:31:14 -05:00
Runemoro
c976a3d88e Decouple Schematic class and add place method 2017-12-09 19:27:09 -05:00
Runemoro
7ac9865cd3 Registry rewrite part 1 2017-12-08 20:08:56 -05:00
Runemoro
79cc174daf More lombok 2017-12-07 00:58:19 -05:00
Runemoro
1e6ceda064 Change dimID back to 684 2017-12-07 00:25:41 -05:00
Runemoro
38087b1571 A few fixes 2017-12-07 00:10:30 -05:00
Runemoro
b5198f2d7a Add gateways 2017-12-06 23:59:05 -05:00
Runemoro
4f911fa0db Lombok 2017-12-06 23:54:43 -05:00
Runemoro
59c47701f5 Schematic handler improvments
- Add netherProbability parameter to the random dungeon function, and set it to depth/50 for now (I'll make it non-linear in a future version)
 - Add a reusable weightedRandom method to MathUtils
 - Make config option to allow for random public pocket size, modify random template code to be able to add variations for "singular" templates
 - Load all pocket sizes but only create ones smaller than maxPocketSize naturally. This way an admin can still manually create a pocket larger than the max size using /dimpocket
 - Javadocs
 - Null checks for a few methods
 - Load schematics when plugin loads rather than when world loads
 does adding to groups work?
2017-12-06 16:44:43 -05:00
abc4857
f1c4a46a22 Change baseDimID to 1000 2017-12-05 23:55:31 -05:00
abc4857
4a0de507a2 Move sounds to client 2017-12-05 23:23:45 -05:00
ZombieHDGaming
b48c31817b
Merge pull request #12 from Runemoro/1.12-WIP
Code clean up
2017-12-05 20:32:27 -05:00
abc4857
5a9af2e387 Clean up: Simplified and optimized complicated logic/redundant code, renamed to new MCP parameter names, fixed warnings about generics 2017-12-05 20:18:27 -05:00
ZombieHDGaming
9caf785092 Add Back Monolith Textures with modified name 2017-12-04 17:56:34 -05:00
ZombieHDGaming
09beab1a98 Removed Old Monolith Textures 2017-12-04 17:56:06 -05:00
ZombieHDGaming
d07ef8ef7a
Delete WARP.png 2017-12-03 22:52:48 -05:00
ZombieHDGaming
9ae5febede
Delete RIFT.png 2017-12-03 22:52:41 -05:00
ZombieHDGaming
ec147856a3
Fix file names for proper usage
Slight file name mixup
2017-12-03 22:52:23 -05:00
abc4857
b77339afb8 Fix stuck after teleport bug 2017-12-03 10:02:51 -05:00
abc4857
2e25edc745 Limbo and Monolith fixes 2017-12-03 08:54:53 -05:00
abc4857
37914faf14 Finish update to 1.12.2 2017-12-03 06:43:44 -05:00
Waterpicker
eb851c9eb5 I did a update thing. :D 2017-11-26 14:45:49 -06:00
Waterpicker
9dcc07ddf1 Allow Monoliths to be placed in pockets. 2017-06-15 23:22:35 -05:00
Mathijs Riezebos
ab4257bdd8 No more suffocating in walls
-Fixed teleportation deplacement placing players next to the door
instead of in front of them, without breaking the rendering of the
doors' "portals".
2017-05-14 17:39:00 +02:00
Mathijs Riezebos
a56fded267 Config sections
-Divided configs over several sub-config sections
2017-05-14 17:07:15 +02:00
Mathijs Riezebos
4f711e5e3f Door placement shenanigans
-Enabled Door opening and closing sounds (BlockDimDoorBase L66)
-Repaired Double placement of doors and Doors swinging open upon
placement (ItemDoorBase L78)
2017-05-14 16:11:33 +02:00
Mathijs Riezebos
c29c9b3d23 WarpDoor improvements
-Added Forge version dependency
-Made sure that Warp Doors always lead to a non-pocket dimension if they
lead anywhere at all
-Added Event checks on Players entering chunks in/and pocket dimensions
2017-05-08 17:42:27 +02:00
Mathijs Riezebos
53568707f0 Mapping coordinates to Pocket IDs and back
-Changed the Pocket placement algorithm. Instead of following a
rectangular spiral path expanding outwards from (0;0), Pockets now get
placed in a fan-shaped area expanding from (0;0) to (infinity;infinity).
-Changed maximum configurable grid size and defaulted to that
-Added a way to retrieve the Pocket ID from a Location
-Schematic loading streams are only closed if they were opened to begin
with
-Added some easier ways of testing if a Dimension is a Pocket dimension
2017-05-05 17:35:02 +02:00
Mathijs Riezebos
7574e61ede Intelligent Commands
-Added tab completions to the teleport command
-Made tab completions for the pocket command actually complete what is
already typed
-Added some String utilities to support the previous two changes
2017-05-05 12:23:31 +02:00
Mathijs Riezebos
9f303bc66b More solid Schematic placement
-Added Try- Catch block to prevent a TileEntity not getting loaded right
from causing the Pocket from registering (which caused respective
Schematic placements on the same position, which replaced unregistered
Doors, to crash as well)
2017-05-03 11:51:14 +02:00
Mathijs Riezebos
fa6d32cf0c Schematic generation command
-Completed command to force-generate Dungeon Pocket Schematics using
their directory (/group) and name
-Schematics now inherrit their name from their file name if it's not set
in their NBT

Warning:
-Quite a few of the pockets themselves show errouneous behaviour when
you try to generate them.
2017-05-01 20:18:00 +02:00
Mathijs Riezebos
13296ffdb9 Jsons adding all Dungeons for Testing
-Added crude json files to load in all Dungeon schematics from previous
versions of DimDoors, into the game
-Added an extra failsafe before Teleporting to a newly generated
Dungeon, checking if the Location is not-null instead of crashing

Notes:
-Rather often, a door to a Dungeon will say that "Teleportation failed".
I think this is because the Dungeon Schematic in question fails to
include a list of its Tile-Entities and their corresponding data.
2017-05-01 13:40:30 +02:00
Waterpicker
e4b9c951c0 Implement dimpocket command 2017-05-01 02:38:56 -05:00
Waterpicker
6de21888db Finished Monoliths 2017-04-30 00:47:59 -05:00
Waterpicker
62749b8ef8 Monoliths first draft 2017-04-29 04:50:20 -05:00
d4rkfly3r
aff7f368d5
Fixing Limbo Sky 2017-04-28 18:14:12 -07:00
Mathijs Riezebos
0c43bb51f5 Enabled the first dungeon Pockets
-Changed build number
-The properties of rifts do not get read from the schematic
-Added the start of what is going to be a system to force-generate a
particular Dungeon Pocket schematic
-Repaired a fault in choosing a random Dungeon Template
-Restructured the loading of Schematic files from disk, to make the code
more concise and less repetitive.
-Remedied bug where Rifts in Dungeon Schematics did not get registered,
because their ID was not -1 from the start.
-Corrected naming of Chaos Door Block in the American localization
-Added Dutch localisation
-Added json file that loads 2 of the Dungeon Schematics (for now for
testing purposes)

Todo:
-Apparently, DimDoors in the schematics don't have the right orientation
until they get rendered. Maybe they should update their orientation for
teleportation from the bottom block of the door
-Add a command to generate a specific schematic as a Dungeon Pocket.
2017-04-28 12:05:33 +02:00
Waterpicker
644eb370bf Add Skeleton of Pocket Command and restructured commands. 2017-04-28 04:05:19 -05:00
Mathijs Riezebos
49dec20dc4 No more Chaos door -> Personal door teleportation
-Repaired Chaos Doors teleporting players to Personal Dimensions, by
*actually saving* the personal-door-ids list in the riftregistry to
disk.
-Added rough method to use GradleStart in Netbeans, however this starts
Minecraft in the wrong root directory, so I commented it out for now
2017-04-24 14:14:26 +02:00
Mathijs Riezebos
9d4ed893a1 Fixed placing doors on rifts
-Registered remaining TileEntities
-Fixed Rifts being replaced by doors unregistering because they are
being "broken"
2017-04-20 06:20:19 +02:00
Mathijs Riezebos
f3abbc89b1 Updated Gradle and Forge
-Updated Gradle wrapper to Gradle 3.5
-Updated Forge to 12.18.3.2281
-Added a comment somewhere :P
2017-04-18 13:23:05 +02:00
Waterpicker
22d7e142e7 Fix pocket dimension lighting 2017-04-14 05:40:38 -05:00
Mathijs Riezebos
d113456933 Separate directory for Schematics per Json
-Add a "directory" String to the schematic json files, to people can
actually group their schematic files in different folders per json file
they use.
2017-04-13 19:17:48 +02:00
Mathijs Riezebos
7fc99ff066 New Schematic files with correct block names
-Generated default private and public Pocket Schematic files, because
the blockNames in the Schematics got outdated.
2017-04-13 03:13:12 +02:00
BuildTools
70712de499 Add old Eternal Fabric Behavior 2017-04-12 16:06:30 -04:00
Mathijs Riezebos
5d5240e81c Refractored DimWall to Fabric
Refractored
-BlockDimWall to BlockFabric
-ItemBlockDimWall to ItemBlockFabric
2017-04-12 13:01:46 +02:00
Mathijs Riezebos
18a185603d Merged BlockDimWall and BlockLimbo
-Merged BlockDimWall and BlockLimbo classes into one
-Added a setup for teleportation to the overworld by Eternal Fabric

TODO
-Rename BlockDimWall to BlockFabric
-Redo the Eternal and Unraveled Fabric textures
-Make Eternal Fabric teleportation actually work on impact
2017-04-12 12:51:18 +02:00
BuildTools
85f2eee6c5 Final (hopefully) fixes for Fabrics 2017-04-10 20:04:52 -04:00
BuildTools
21656becf9 Fixes issues with Altered Fabric 2017-04-08 16:30:14 -04:00
Mathijs Riezebos
d6f1b6743d Teleporting on ITickable.update()
-Delayed teleporting so it gets executed on DDTileEntityBase.update() to
prevent players from randomly not being moved
-Added some fields that need to be saved on worldSave
-Made Personal Pockets and Doors work
2017-04-08 00:08:30 +02:00
Mathijs Riezebos
937a008f95 Repaired the saving system for Pockets
-Pockets don't register in their constructor anymore
-Repaired eternal loops in Pocket and Rift Registries
-Made the getX and getZ methods truly recursive
-Fixed TileEntity blockPos mismatch after reading from schematic.
-Tried a lot of stuff in the TeleporterDimDoors class, to finetune
teleportation.

-Teleportation doesn't seem to work flawlessly anymore (if it ever did
at all)
2017-04-05 08:46:39 +02:00
Mathijs Riezebos
758e521443 Repaired Teleportation
-included flow-math library in the jar file on "build"
-fix for public pockets' depthZeroLocation's calculation
-TeleportCommand got weakened a little
-Repaired Survival and inter-dimensional (non vanilla dimension)
teleporting
-Added some missing javadoc to utility classes
-Corrected transformLocationRandomly
-Made Location serializable
-Corrected mistake in commented out generation of and generated default
private and public pockets.

Todo:
-Loading a world with a generated pocket, crashes the game with an
infinite loop. Ergo, the registering of Pockets needs to be done
somewhere else than in their constructor.
2017-03-27 23:56:43 +02:00
Mathijs Riezebos
3b41149c16 Moved generic methods to utility classes
-Moved several methods to DDRandomUtils and DDMathUtils
-Added several config options
-Corrected some config options' grammar and spelling
2017-03-19 13:34:27 +01:00
Mathijs Riezebos
d6d8a2bb49 Doortype-specific Teleportation
-Implemented different variations for determining where different doors
teleport the player, if they link at all, etc.
-Implemented different variations for determining the teleport location
in case of a player teleporting to a door, rift, trapdoor, etc.
-Rifts now unregister and unpair if the doors are broken.
-Players' UUIDs now get registered to a Pocket if a player enters them
via any rift.
-Riftblade now works instantaneously, instead of placing a transient
door.

TODO
-Maybe the Transient door does not work correctly right now
2017-03-03 15:25:10 +01:00
Mathijs Riezebos
4519886063 Default pockets
-Added (auto-generated) default private and public pockets and changed
the jsons,
-Commented out auto-generation code at the bottom of Schematic.java.
-Fixed a stupid method call mistake in PocketRegistry that made stuff
fail miserably.
-Made sure that a size 0 pocket schematic can be 16 blocks.
2017-02-25 06:34:09 +01:00
Waterpicker
5d26f6f854 Readded Sounds 2017-02-21 21:41:16 -06:00
Mathijs Riezebos
de93828a6d Pocket creation upon entering doors
-Added an "OverWorld location reference" to each door (that offsets more
if you go deeper into dungeon pockets)
-Made sure that the entrance door of a Pocket is a Warp Door if the
Pocket has one
-Made sure that the depth of Dungeon Pockets is always at least 1
-Added some separate teleportation behaviours for different types of
Rifts
-Minor bug fixes
2017-02-21 15:16:04 +01:00
Mathijs Riezebos
86eb14c408 Repaired loading and placement of old DimDoors Pockets
-Added separate Block class for Chaos Door
-Set up Personal DimDoor to create its own type of tile-entity
-Added flag "2" to update blocks upon PocketTemplate placement to
prevent non-defaultstate doors from breaking upon placement.
-Used write- and read- Compressed instead of GZIP Streams
-Closed the output stream
-Added canRiftBePaired field to Rift tile entities
-Added Chaos- and Personal- Door Rift Tile Entities
-Removed statement where I falsely assumed that a meta of 0 meant that
the blockstate was the default.
-Corrected several other mistakes in Schematic.java
-Had to make sure that the blockstate of ancient fabric didn't get
turned into fabric of reality again...
2017-02-16 14:28:28 +01:00
Mathijs Riezebos
d0af9178f0 Pocket placement preparation and schematic saving
-Prepared code accessibility for placement of Pockets
-Added method to save schematic nbt to a GZip file on disk.

Todo:
-Discovered that Schematics don't get the correct names for their blocks
upon writing themselves to NBT.
2017-02-06 19:08:41 +01:00
Mathijs Riezebos
21a008c11f Enum names instead of Enum indexes for saving
-Made the PocketRegistry use the toString() values of the
EnumPocketTypes, to save its maps in an NBTTagCompound instead of using
the indexes of those Enums to store the maps in NBTTagLists
2017-02-03 13:56:37 +01:00
Mathijs Riezebos
ff62ca29ec Separate pocketID map per PocketType
-Implemented Pockets' UID being determined by their EnumPocketType and
an integer ID
-Fixed some double and triple registering of Pockets
-Fixed a minor major typo in SchematicHandler that prevented
old-format-schematics from being loaded from disk
-Fixed  an "index-out-of-bounds-like" typo and a [ character being read
as a special character in the Schematic class
-Restructured and moved dimension files (again)
-Edited the defaultPublic- and -Personal.json files to a final-ish form
-Added another dummy schematic, but now in the new schematic format
-Added the old dungeon pocket schematics to the assets
-Tested loading of .schem and .schematic files from disk as well as from
the mod jar (successful, btw)
2017-02-02 02:43:43 +01:00
Mathijs Riezebos
3e4c4afa0f Default config correctness ward
-Added a boolean to the config class, that shows the player a message
upon joining the world, if it is false and the mod version is not alpha.
Meant to assure that config defaults are set correctly (in code) upon
beta- or release- distribution of the mod.
2017-01-30 13:48:57 +01:00
Mathijs Riezebos
5903cf69f0 Correct dimension IDs
-Made DimensionTypes load their dimID from config
2017-01-28 19:09:57 +01:00
Mathijs Riezebos
5bb54b0791 Merge remote-tracking branch 'refs/remotes/origin/Worlds' into 1.10-WIP
# Conflicts:
#	src/main/java/com/zixiken/dimdoors/shared/DDProxyCommon.java
#	src/main/java/com/zixiken/dimdoors/shared/PocketPlacer.java
#	src/main/java/com/zixiken/dimdoors/shared/SchematicHandler.java
#	src/main/java/com/zixiken/dimdoors/shared/TeleportHelper.java
#	src/main/java/com/zixiken/dimdoors/shared/world/PocketProvider.java

-Resolved all merge conflicts.
-Removed a few unused imports
-Refractored (moved) new classes from the Worlds branch to the new
package structure that came from the Pockets branch
-Changed variant size values of the default empty pocket jsons, because
otherwise they would crash the game on default config pers/pub pocket
size.
2017-01-28 14:17:41 +01:00
Mathijs Riezebos
9f33aac2b8 Several small features
-BlockRift doesn't cause suffocation damage anymore
-Added config option for Dimension ID's
-Added correct method for opening schematic files from File
-Finished "dictionary" for converting dimdoors blocks from the old
schematics to new schematics.
-Added a special "translation-case" for Ancient Fabric, because I am not
going to write a complete method just because one block deviates.
-Added "null-checks" for each non-required field in schematics (new
format) while reading them from NBT and set some corresponding default
values for the fields that can be "null"
2017-01-28 13:28:04 +01:00
Waterpicker
e75d282b24 World draft 1 complete 2017-01-26 20:57:37 -06:00
Mathijs Riezebos
45c9487874 Made everything not error on world-load
-Added a few default pocket jsons
-Errors on world-load were because the above were missing.
-Added a testing schematic (old schematic format)
-Made everything work somehow
2017-01-26 19:33:31 +01:00
Mathijs Riezebos
34c18d9ce5 Indentation 2017-01-26 15:03:20 +01:00
Mathijs Riezebos
cd1ba7575c Old DimDoors-schematic loading
-Implemented a way to write a schematic to NBT
-Implemented a way to read an old DD schematic from NBT

Todo:
-Complete the lists of old DD block names and map them to new ones.
-Implement a method to read schematics and jsons from jar as well as
from config directory
2017-01-26 14:51:41 +01:00
Mathijs Riezebos
3f367c8ce3 BlockRift solidity and Teleportation location correction
-Made sure that a BlockRift is not replacable and that you can walk
through them. (It hurts though, but we can say that that's a feature)
-Player now gets teleported on the ground in front of the rift, instead
of 1 block in the air.
2017-01-26 00:38:44 +01:00
Waterpicker
6eacd2d62f Not done. Just pushing current code. 2017-01-25 15:25:03 -06:00
Mathijs Riezebos
755dd47fd6 The great refractoring 1.0
-Removed lots of imports
-Moved a whole lot of classes
-Changed up the build.gradle
2017-01-25 22:01:58 +01:00
Mathijs Riezebos
85f62ca323 Trying to repair teleportation 001 2017-01-25 20:13:25 +01:00
Mathijs Riezebos
b2f47a6f7d Unpaired rift at depth-registry implementation
-Implemented methods to register unpaired rifts at their pockets'
respective depth
-Added ItemDimDoorTrancient to make the riftblade's functionality
consistent with the placement of dimdoors on rifts
2017-01-25 16:08:30 +01:00
Mathijs Riezebos
10ddb6f825 Merge remote-tracking branch 'refs/remotes/origin/1.10-WIP' into 1.10-Pockets
# Conflicts:
#	src/main/java/com/zixiken/dimdoors/items/ItemDoorBase.java
#	src/main/java/com/zixiken/dimdoors/tileentities/DDTileEntityBase.java

Conflicts were small and are resolved
2017-01-25 14:16:48 +01:00
Mathijs Riezebos
49b88a9549 Made a lot of changes
If anything went wrong, assume that it's because of this commit.

Does not compile!
2017-01-25 14:10:50 +01:00
Mathijs Riezebos
d0b6a74664 Implemented usage of Sponge Schematics
-Implemented a way to load these schematics
-Implemented a way to place these schematics
-Removed "ye olde ways" (Pillar-ways)

Todo:
-Finding out how and where TileEntities are being created wrongly.
-Make pocket-generation a lot less "coupled". Just store the RiftIDs in
the Pocket and afterwards ask the pocket for a random RiftID
-Do some code cleanup in the SchematicHandler class
-Config Dim ID def: 684
2017-01-24 08:11:12 +01:00
Mathijs Riezebos
732ceee40b Changing plans about Pocket gen
-Added Schematic (loads itself) class to load and store schematic files
in memory.
-Removed dependency on Pillar mod

Todo:
-Code doesn't compile again
2017-01-24 05:27:14 +01:00
Waterpicker
4ce32c9828 Server and client are seperate. 2017-01-23 19:58:42 -06:00
Mathijs Riezebos
5c383bde1d Finished Pocket creation
-Added dependency on Vazkii's Pillar mod for "schematic" loading
-Added config directory for DimDoors
-Fixed entrance door placement coords
-Refractored some methods
-Added json-reader functionality

-Code compiles now

Todo:
-Make code added in SchematicHandler more modular
-Game gets stuck on world-load. Probably because the default json file
for "defaultPersonal" is not available yet at the saves directory.
2017-01-24 00:45:16 +01:00
Mathijs Riezebos
88dbcf152a Dungeon Pocket Template Randomisation
-Changed some method names
-Fixed a mistake in registering a new pocket upon generation
-Added some get functions for privates
-Implemented functionality for randomising what dungeon pocket may be
generated upon entering an unlinked DimDoor.

Todo:
-Still the same
2017-01-22 17:28:16 +01:00
Mathijs Riezebos
82b05010c3 Implemented preparation generation for pocket placement
-Valid Pocket schematics will be loaded on world-load
-Created an EnumPocketType instead of the integer to avoid confusion and
make expansion to more types easier.
-Renamed PocketPlacer to PocketTemplate
-Implemented Pocket-Template's placement of the default walls, floor,
roof and door
-Updated Forge to latest

Todo:
-Actually reading the schematic into memory
-Placing the schematic
2017-01-22 16:49:00 +01:00
Waterpicker
7554e3fc62 Rift Blade sorta works 2017-01-22 06:54:55 -06:00
Waterpicker
e027947fb0 Big batch of unfinished items. 2017-01-21 06:54:20 -06:00
Mathijs Riezebos
aac1108056 Cleaned up a little bit
Removed some useless privates from TileEntityDimDoor
Added some useful privates to DDTileEntityBase
2017-01-21 06:49:53 -06:00
Mathijs Riezebos
b68463fc62 Added config max and min values checker and correcter 2017-01-21 13:17:49 +01:00
Mathijs Riezebos
4d8378c8d0 Merge remote-tracking branch 'refs/remotes/origin/1.10-WIP' into 1.10-Pockets 2017-01-20 14:17:05 +01:00
Mathijs Riezebos
30b0e1a13b Fixed mostly visual things
-Added some crafting recipes
-Made some things render correctly
-Cooler texture for the Transdimensional Trapdoor
-Made some things show their name correctly
2017-01-20 14:08:27 +01:00
Waterpicker
eec27d5ef5 Rift blade renders correctly now 2017-01-20 05:42:03 -06:00
Mathijs Riezebos
c7535030a4 Wrote backbone for the Pocket Placement
-Added a configs class to handle the configs
-Rewrote some of the save handling of the RiftRegistry

Still needed:
-Some dimensions to place pockets in
-Actual loading of json and schematic files into memory
-Actual placement of the pockets (+ door placement and stuff)

Repo does not compile right now!¡!
2017-01-20 12:34:33 +01:00
Waterpicker
16416e35d4 Added rest of Item textures and semi implmentted the Rift Blade. 2017-01-20 03:54:26 -06:00
Mathijs Riezebos
8a36c6b1c0 Automatic Rift pairing with unpaired Rifts upon teleport 2017-01-20 01:44:40 +01:00
Mathijs Riezebos
5ebf7aab70 Rift Connection Tool basic visuals
Cleaned up a lot of logging code
Added a function to send chat messages to the player
2017-01-20 00:02:28 +01:00
Mathijs Riezebos
a9fb3f5445 Moar Teleporting fixing
Some renaming
And moving the storage of a DimDoor's orientation over from the
BlockDoorBase to the TileEntityDimDoor
2017-01-19 22:34:46 +01:00
Mathijs Riezebos
a9f2f3a82d More teleportation fixes
Made teleporting check whether door is opened and close it again on
teleportation.
Added some more debug logging.
Made the teleportation methods one "string" of boolean methods,
returning false if anything would go amiss.
Implemented 150 ticks waiting time inbetween teleports
finetuned getTeleportTargetLocation method, but it somehow gets reset on
server restart.
2017-01-19 16:28:18 +01:00
Waterpicker
8624934d26 Current modification 2017-01-19 00:51:22 -06:00
Mathijs Riezebos
3ffbe2ad03 Some small steps regarding teleportation 2017-01-19 06:23:46 +01:00
Mathijs Riezebos
30c86f1e16 Merge remote-tracking branch 'refs/remotes/origin/Teleportation' into 1.10-WIP
# Conflicts:
#	src/main/java/com/zixiken/dimdoors/blocks/BlockDimDoorBase.java
Removed a redundant method
#	src/main/java/com/zixiken/dimdoors/tileentities/DDTileEntityBase.java
Imports going amok
2017-01-19 04:17:00 +01:00
Mathijs Riezebos
ecc9ea39cf Privatized some variables
As a contingency against misuse
2017-01-19 04:13:04 +01:00
Mathijs Riezebos
111f2f9b51 Restructured Teleportation
Reshaped the teleportation implementation in a way so that it fits my
view on the structure. :P
Removed redundant methods
2017-01-19 04:06:13 +01:00
Mathijs Riezebos
987f52049f Insert random nonsensical title here
Removed some superfluous methods
Added stacktrace print whenever TileEntity gets created
2017-01-19 03:20:30 +01:00
Waterpicker
2767e36e2c Current code 2017-01-18 18:43:19 -06:00
Mathijs Riezebos
f93c4e3670 Added connecting rifts
Changed the functioning of and registered the ItemRiftConnectionTool
item.
Repaired a stupid mistake in DDTileEntityBase
2017-01-17 23:39:36 +01:00
Mathijs Riezebos
0c5ef6193c Rift connecting code implemented
Coded the ItemRiftConnectionTool's primary function
2017-01-17 04:18:42 +01:00
Mathijs Riezebos
ad29c72984 Merge remote-tracking branch 'refs/remotes/origin/Tesseract' into 1.10-WIP 2017-01-17 03:14:45 +01:00
Waterpicker
68881e17ce DimDoor and Rift- (re)placement
Main:
Removed "custom" code for DimDoors' Placement and rewrote it
When right-clicking rifts with any Dimensional Door, the game will try to place the Dimensional Door onto the rift.
Rifts will now enherit their properties from broken DimDoors and Dimdoors will enherit their properties from rifts they are placed over.

Other:
Made the DimDoors logger a bit more powerful.
Made RiftRegistry reset on server-load
Created a setup for the RiftConnectionTool Item.

Layout:
Fixed TileEntityRift.java's indentation
Changed some variable names

Authored by Robijnvogel and squashed by Waterpicker.
2017-01-16 20:12:14 -06:00
Waterpicker
9327a33674 New Tesseract Animation for Rift Tile Entitiies. 2017-01-16 20:04:32 -06:00
Mathijs Riezebos
8eea287998 Some cleaning up, some making a mess
Changed the breakBlock method to something a bit more readable
Added some debug logging comments
2017-01-13 10:13:51 +01:00
Mathijs Riezebos
70535a50d5 Merge remote-tracking branch 'origin/1.10' into 1.10
# Conflicts resolved:
#	src/main/java/com/zixiken/dimdoors/blocks/BlockDimDoorBase.java
2017-01-13 09:40:16 +01:00
Mathijs Riezebos
5890211cc8 Trying to get DimDoors to turn into rifts on destruction 2017-01-13 09:37:42 +01:00
Waterpicker
d773db0256 Debug code rendering for rifts. 2017-01-13 02:26:46 -06:00
Waterpicker
8ef079b122 Added some last finishing touches on Dimensional walls.
Added some last finishing touches on Dimensional walls.
2017-01-13 00:49:24 -06:00
Mathijs Riezebos
e1facdbf3b Made Altered fabric work correctly 2017-01-13 00:49:24 -06:00
Mathijs Riezebos
2a4c9ba120 Door-placement- and rift-registering-fixes
-Due to testing, found out that "RiftRegistry.nextRiftID"gets saved and
loaded correctly.

-DimDoors are no longer placeable on leaves or glass (ItemDoorBase.java)
-DimDoors will no longer be placed through left-clicking
(EventHookContainer.java)
-Relocated call to DDTileEntityBase.register() from its constructor to
ItemDoorBase right after the door gets placed. Which means that that
whole constructor and its overrides in other classes are not needed
anymore.
-Added failsafe, so that a DDTileEntityBase that is already registered,
doesn't register again.
2017-01-13 07:45:45 +01:00
Mathijs Riezebos
b61aff025c Auto indented all code
No actual functionality was changed
2017-01-13 03:13:49 +01:00
Mathijs Riezebos
c741d5cd35 Set up actually registering Rifts
Repaired a derp I did in which the Tile Entities did not have a "World"
to get the ID from for the Location to turn into a Location. I needed to
change a lot of constructors to include said "World" as a parameter.

Set up DDTileEntityBase to save after it's paired, registered or
unpaired and actually wrote the readFromNBT and writeToNBT for that.
2017-01-13 03:07:26 +01:00
Mathijs Riezebos
f68c9ec4a2 Connected Rift-Link system to rift registry- and saving- system
Merged functionality of "RiftHandler" class into "RiftRegistry" class
Moved the "Location" class

Why the RiftRegistry couples the Rift ID to the Rift **location** and
the PocketRegistry couples the Pocket ID to the actual Pocket
**instance**:
-Each Rift is a Tile-Entity, which means that it has its infromation can
be stored using the Tile-Entitiy's information saving system.
-Each Pocket is barely more than an information storage container, which
depends on having an external information saving system, which the
PocketRegistry provides for it.
2017-01-13 01:08:21 +01:00
Mathijs Riezebos
5c6fd1d1fa Adapted Save system to WIP changes 2017-01-12 16:00:51 +01:00
Mathijs Riezebos
12f715a4d7 Merge remote-tracking branch 'refs/remotes/origin/master' into WIP 2017-01-12 15:16:22 +01:00
Mathijs Riezebos
204e430be8 Created a backbone for saving DimDoors specific worldsave data 2017-01-12 15:15:53 +01:00
Mathijs Riezebos
ba6bf6be5a Merge remote-tracking branch 'refs/remotes/origin/master' into WIP 2017-01-12 12:44:49 +01:00
Waterpicker
9f7da9b4b8 Fixed DimWall functionality. Shift right disabling not working however. 2017-01-12 05:25:04 -06:00
Mathijs Riezebos
1b2d4ad20a Implementing a way to handle rift-connections 001
Made a start
It doesn't compile yet
2017-01-12 01:11:55 +01:00
Michael Zanga
0624b9f76a "Removed" deprecated code. 2017-01-11 15:27:06 -05:00
Michael Zanga
108a290c93 Unused import... 2017-01-11 14:23:14 -05:00
Michael Zanga
2cb880c6ca Item registration updated. Tweaks to ModelManager. 2017-01-11 14:19:21 -05:00
Mathijs Riezebos
1bd31a5d82 Solved compiler errors
Apparently "worldobj" was changed into "world" since the last Forge
update?
2017-01-11 15:47:37 +01:00
Mathijs Riezebos
3a282486d3 Setup
-Updated Gradle Wrapper and Forge version.
-Setup Netbeans
-Minor changes in MCMod.info
2017-01-11 15:42:29 +01:00
Michael Zanga
6f87336b6f Continued work on 1.10 updates. Block classes mostly done. 2016-12-13 15:57:45 -05:00
Zangamj
22f22f4741 Potentially fixed #10 2016-11-13 17:40:49 -05:00
Waterpicker
35c3d1aae8 It compiles and runs in 1.10.2 2016-11-07 02:56:55 -06:00
Waterpicker
baf6e16620 Knocked out a chunk of updates to 1.10.2 2016-11-06 05:37:21 -06:00
Zangamj
a9019d1d18 New base PocketProvider class 2016-11-05 21:26:27 -04:00
Michael Zanga
03a7fd1b47 Removed IDomDoor's seemingly useless initDoorTE method 2016-11-05 00:44:55 -04:00
Michael Zanga
2b9ca1c7da Added sanity check to updateDoorTE's setting of orientation 2016-11-05 00:42:05 -04:00
Michael Zanga
79f2166c8c (Mostly) clean slate for mod rewrite 2016-10-30 19:42:01 -04:00
zangamj
2ab27633cd Door tile entities are in the top block now.
Fixed 3 block high render.
2016-08-23 17:52:49 -04:00
zangamj
705b2963ee Fixed door rendering on only bottom block 2016-08-22 19:14:29 -04:00
zangamj
a6fdd29bbd Fixed door collisions 2016-08-21 23:14:37 -04:00
Michael Zanga
6cd9fe2760 Fixed DimDoor block bounds. 2016-08-21 14:18:19 -04:00
zangamj
b38393e29e Fixed tile entity duplicates 2016-08-16 17:01:05 -04:00
zangamj
59fddb6116 Can now place doors. 2016-08-15 18:24:58 -04:00
zangamj
7a4acad1a5 Fixed missing model definition errors 2016-08-15 16:15:27 -04:00
zangamj
adb5114b04 Trying to fix model/texture errors.
Need to figure out how to make BlockRift and TransientDoor not try to have models.
2016-08-14 16:02:09 -04:00
Waterpicker
6993b39ae3 It Runs! 2016-08-11 21:40:03 -05:00
Waterpicker
9fe42a2358 Did the bulk of Rendering and a few other things. 2016-08-11 01:26:24 -05:00
zangamj
1e62c62924 Finished ServerPacketHandler, moved to watcher package.
Removed unused PacketConstants class.
2016-08-09 09:57:30 -04:00
zangamj
88078bd228 Finished ObjectSaveInputStream.
Moved it to legacy package and reverted OldSaveImporter's name change.
2016-08-09 09:29:57 -04:00
Michael Zanga
e7e42316ad Finished EventHookContainer. 2016-08-08 11:29:51 -04:00
Michael Zanga
6ec1d0d6a0 Removed some extra imports that were "refactored in" by IntelliJ. 2016-08-08 11:01:16 -04:00
Michael Zanga
cd904e9d96 Udated and moved legacy support code (DimData, LinkData, OldSaveImporter) to their own package.
Gave them better names, renamed NewDimData to DimData since it's no longer new.
2016-08-08 10:53:01 -04:00
Waterpicker
d28c48c3c7 Did another massive chunk of changes
And still many more to got through. Sigh.
2016-08-08 01:41:03 -05:00
zangamj
0174899d2e Finished DDLoot. 2016-08-05 11:53:15 -04:00
zangamj
23e57a9cca Finished CraftingManager. 2016-08-05 10:49:05 -04:00
zangamj
1ee1583a06 Finished CloudRenderBlank. 2016-08-05 10:21:38 -04:00
zangamj
c753535e0f Finished BlankTeleporter? 2016-08-05 10:20:08 -04:00
zangamj
c319f79aa8 Finished ItemWorldThread. 2016-08-05 10:14:49 -04:00
zangamj
96abeb5f33 Finished ItemWarpDoor. 2016-08-05 10:01:56 -04:00
zangamj
fb8f71929b Finished ItemUnstableDoor. 2016-08-05 09:59:17 -04:00
zangamj
6ab572ee6f Finished ItemStableFabric. 2016-08-05 09:54:21 -04:00
Michael Zanga
68827ae9d1 Finished ItemStabilizedRiftSignature. 2016-08-04 14:39:43 -04:00
Zixiken
01aa91d48b Rename itemRiftRemover.java to ItemRiftRemover.java
Not sure why this hasn't applied on GitHub
2016-08-04 13:44:51 -04:00
Michael Zanga
d1b8124461 Slight change to ItemRiftRemover.
Don't know if this works the same way, but it avoids some casting down the hierarchy.
2016-08-04 12:28:34 -04:00
Michael Zanga
8fd609db13 Finished ItemRiftSignature. 2016-08-04 12:17:15 -04:00
Michael Zanga
e660e40f90 "Finished" ItemRiftRemover. Probably needs bug fixing later. 2016-08-04 11:18:51 -04:00
zangamj
6f2d0a9018 Finished ItemRiftBlade. 2016-08-03 15:44:21 -04:00
zangamj
1fd82190b5 Finished ItemQuartzDoor. 2016-08-03 14:10:08 -04:00
zangamj
3d38ee1c08 Finished ItemPersonalDoor. 2016-08-03 13:52:44 -04:00
zangamj
4a4a1693a8 Finished ItemGoldDoor. 2016-08-03 11:37:30 -04:00
zangamj
cce72994c2 Finished ItemGoldDimDoor. 2016-08-03 11:20:04 -04:00
zangamj
a046508e45 Finished ItemDimensionalDoor. 2016-08-03 11:15:34 -04:00
zangamj
31fe99fdbc Finished rift block and DDKey item rendering. 2016-08-03 11:02:06 -04:00
Michael Zanga
17e9921bb4 Finished ItemDDKey.
Refactored render manager since it only handles items.
2016-08-02 15:32:28 -04:00
Michael Zanga
0735aa7722 Finished DispenserBehaviourStabilizedRS. 2016-08-02 14:47:53 -04:00
Michael Zanga
0077a1860d Finished BaseItemDoor. 2016-08-02 14:47:20 -04:00
Michael Zanga
0756e94e01 Nearly finished BaseItemDoor, need to find placeDoorBlock method. 2016-07-29 16:44:30 -04:00
Michael Zanga
cecdc7c12c Finished WarpDoor. 2016-07-29 09:43:12 -04:00
Michael Zanga
07d6a1f120 Finished UnstableDoor, fixed a typo.
UnstableDoor's lower texture is the same as an iron door.
2016-07-29 09:24:59 -04:00
Michael Zanga
8e26caa13f Finished TransTrapdoor? 2016-07-22 15:40:00 -04:00
Michael Zanga
bce429e17e Started on TransTrapdoor.\nThese may need fixing later; trapdoors lost some functionality since 1.7.10 2016-07-21 16:57:56 -04:00
Michael Zanga
b1fa82fc63 Finished TransientDoor.
Better sanity check in BaseDimDoor.
2016-07-21 10:58:50 -04:00
Michael Zanga
d36bc87a6a Finished PersonalDimDoor.
Removed iron door jsons since they're now unnecessary
2016-07-21 10:16:00 -04:00
zangamj
6480fb386c Finished DimensionalDoor 2016-07-20 14:32:03 -04:00
zangamj
863f5644e0 Finished BlockRift 2016-07-20 11:33:37 -04:00
Waterpicker
a1254ae8d5 Fixed Network and TileEnties 2016-07-16 06:21:55 -05:00
zangamj
bdf7532b14 Finished BlockLimbo.
There are extra texture files for limbo blocks that appear unused; I left
them in case I'm wrong.
2016-07-13 12:14:33 -04:00
zangamj
881ead8acf Finished BlockGoldDimDoor. Removed gold dim door textures since they are identical to gold door textures. 2016-07-13 11:35:47 -04:00
zangamj
989c917515 Finished BlockDoorQuartz 2016-07-12 14:03:40 -04:00
Michael Zanga
89e609add0 Finished BlockDoorGold 2016-07-12 11:18:02 -04:00
Michael Zanga
18a4af015b Finished BlockDimWallPerm 2016-06-28 10:33:14 -04:00
Michael Zanga
201e7d46b7 Finished blockDimWall 2016-06-28 09:52:21 -04:00
zangamj
8e6626e46a Progress on BlockDimWall and its respective ItemBlock. 2016-06-24 16:43:59 -04:00
Waterpicker
09eb9ab48d I might gone overboard with how deep I went this time. 2016-06-24 00:38:41 -05:00
zangamj
1b87445f8a Finished BaseDimDoor. 2016-06-21 20:59:56 -04:00
Waterpicker
dec10296a5 Did a bit updating. 2016-06-21 11:28:28 -05:00
zangamj
563c950c17 More work on BaseDimDoor. Corrected mistake in CommonProxy. 2016-06-18 19:10:31 -04:00
zangamj
e6cc4c292f Began work on BaseDimDoor. Copied relevant json files for door blockstates and models. 2016-06-18 13:02:36 -04:00
zangamj
4f94735c79 Finished changes to ClientProxy 2016-06-18 12:28:16 -04:00
zangamj
88a5f573a0 Main mod file and CommonProxy finished, ClientProxy almost done.
Need to research mob rendering to finish.
2016-06-16 14:05:30 -04:00
zangamj
45d6de97d3 More work done 2016-06-16 10:41:19 -04:00
zangamj
30a79a8423 Begin work on refactoring and 1.8.9 updates 2016-06-15 15:03:28 -04:00
Stephen Baynham
ecf7fd12f1 Increment version 2015-07-21 20:17:11 -04:00
Stephen Baynham
cd70c1b20b Forgot this 2015-07-21 20:16:17 -04:00
Stephen Baynham
caca861c7b Fixes #35
If there is a problem reading the blacklist file from disk, previously,
null would be returned from the DDSaveHandler.readBlacklist method.  This
would result in a crash later on down the line when we tried to iterate
the blacklist.  Now we return an empty array.  I'd like to be able to
diagnose the issues causing the blacklist file to be corrupted, but
unfortunately when this issue crops up, people only post the crash :(
2015-07-21 20:09:51 -04:00
Stephen Baynham
5e7cb14219 Fixes #22
If the server disconnected you due to a timeout or whatever, the pocket
manager would appropriately unload all dimension & pocket data, but it
would do so moments before the world unloaded, meaning that entities would
sometimes, on update or as part of their renderer, attempt to access the
dimensional data.  This places a new guard condition that attempts to stop
that from crashing the client.
2015-07-21 19:57:29 -04:00
Stephen Baynham
c15e4253e8 Stop a launch crash.
Check whether pocket data is loaded before attempting to pull dimension
data.
2015-07-21 19:49:40 -04:00
Stephen Baynham
dacc736508 Fixes #18
On startup, existing sub-dimensions of personal dimensions were being
given the wrong worldprovider by the launch code.  The reason for this is
that subdimensions are not added to the player -> dimension mapping for
personal dimensions, because there is only one canonical "personal"
dimension.  The launch code was using presence or absence in the mapping
to determine whether a dimension is personal, rather than the dimension
type.  This is now fixed.
2015-07-21 19:48:18 -04:00
Stephen Baynham
27d17d86a1 New guard condition in genreateLightBrightnessTable()
Some users were reporting very sporatic crashes in
generateLightBrightnessTable() when the server was starting up.  It's
possible that very occasionally, the server will register the pocket
dimension before any pocket dimension data is initialized, forcing the
light brightness table to get generated server side with bad values.
2015-07-21 19:01:36 -04:00
Stephen Baynham
7a82abf182 Moved network infrastructure over to the simplenetworkwrapper. 2015-07-21 18:42:25 -04:00
Stephen Baynham
337f0240a6 Added a few guard conditions to shutdown code.
In some cases (such as another mod crashing on startup or something), the
server shutdown even was getting called before anything was actually
initialize.  In these cases, some uninitialized objects were having
cleanup methods called on them, when they were null.  There are now guard
conditions to prevent the resulting NPE's.
2015-07-21 18:31:33 -04:00
CannibalVox
e0ffcaa98d Assuming implementation details don't match the contract is no. 2015-07-19 10:23:02 -04:00
Steve
2dea8e1a13 added check to see if dimension already registered
-this stops errors on player logout and login without shutting down
client.
2015-07-19 10:14:56 -04:00
Steve
2b411ce4cf Fix crash on exiting personal pocket dimension
-changed unload() function to tryunload() to quiet shutdown error
messages. If using unload() was intentional, don't do this.
2015-07-19 10:13:04 -04:00
CannibalVox
d91ad394cb Make personal links always send players to their own personal dimension. 2015-03-19 19:51:54 -05:00
CannibalVox
91f96c825c Don't try to check a dim type before we have dim data. Relight dimension
when we get it.
2015-03-17 11:25:11 -05:00
CannibalVox
d01bbb488e Don't crash in SMP when using key 2015-03-17 10:40:03 -05:00
CannibalVox
44a0d4b3ec Correct various weirdness with personal doors in pocket dimensions 2015-03-15 22:19:13 -05:00
CannibalVox
bb2525d94e Moved the onlogin network message to do what it should have been doing 2015-03-12 12:16:39 -05:00
CannibalVox
7e8b682c23 Unload dimensions on discon, don't freak out on TE load if dimensions
aren't there
2015-03-12 11:33:33 -05:00
CannibalVox
6651559793 I MIGHT have copy/pasted this from starmall. 2015-03-12 11:12:51 -05:00
CannibalVox
d210b9b91c Register the dimensions early in the connection process so we can actually
log in and stuff.
2015-03-12 10:55:30 -05:00
CannibalVox
4f7e7a6925 Merge branch 'master' of github.com:CannibalVox/DimDoors 2015-03-12 06:36:54 -05:00
CannibalVox
41c88d1904 Personal dim door should require quartz doors, not gold doors. 2015-03-12 06:36:36 -05:00
DragonsLover
74ac7e5e6f Adding French Canadian language 2015-03-11 17:08:25 -04:00
TheVikingWarrior
79f60fb425 Create it_IT.lang 2015-03-11 17:09:30 +01:00
CannibalVox
ed91e3161f Merge branch 'master' of github.com:CannibalVox/DimDoors 2015-03-11 09:29:25 -05:00
CannibalVox
4bb42971c8 A bunch of blocks weren't properly rift-immune because they weren't
initted yet
2015-03-11 09:28:59 -05:00
Mrkwtkr
a4c1d3aa70 Create zh_CN.lang
:P
2015-03-11 21:29:01 +08:00
CannibalVox
6907350f00 Personal links set a destination for annoying cruft reasons. Easier to
ignore it when someone is generating a personal dim than fix that.
2015-03-11 08:22:24 -05:00
CannibalVox
ec180f46f0 Merge branch 'master' of github.com:CannibalVox/DimDoors 2015-03-11 07:46:10 -05:00
CannibalVox
d2c8877c26 Give personal dims the right provider on client-side 2015-03-11 07:45:51 -05:00
Cannibal Vox
66ac4d8512 Merge pull request #1 from Adaptivity/patch-1
Create ru_RU.lang
2015-03-11 01:42:16 -05:00
Vexatos
45b89abe90 Create de_DE.lang 2015-03-11 07:10:32 +01:00
Anton
8acbada3ba Create ru_RU.lang 2015-03-11 07:55:59 +03:00
CannibalVox
1464638fff Fixed SSP- stop the network code from doubling up adds/deletes 2015-03-10 16:59:34 -05:00
CannibalVox
af0d1450a4 SMP crash on rift creation 2015-03-10 13:57:11 -05:00
CannibalVox
0c70b0760b This event appeared to be unnecessary and was jacking up SSP 2015-03-10 13:44:00 -05:00
CannibalVox
8d282cb021 Decided to actually plug in the network. idea copyright olloth 2015 2015-03-10 13:13:26 -05:00
CannibalVox
43e67bdbd3 Don't crash server on startup trying to use sounds 2015-03-10 10:48:36 -05:00
CannibalVox
585b0685d0 Fixed a lot of WAILA weirdness 2015-03-10 10:36:39 -05:00
CannibalVox
e5af4f5964 Fixed some keyhole texture case sensitivity thing- also let's not use the
build output resources folder as a dumping ground for textures, thanks.
2015-03-10 09:39:14 -05:00
CannibalVox
8073ee6a32 Localize ALL THE THINGS! 2015-03-10 08:57:08 -05:00
CannibalVox
6aeed2c0e5 Fix version 2015-03-10 05:50:49 -05:00
CannibalVox
f9addaf115 Update these field names 2015-03-10 05:17:09 -05:00
CannibalVox
e15bfbd2d1 Some tweaks to the monolith- make it look great. 2015-03-10 04:28:31 -05:00
CannibalVox
7c11003686 Key monolith behavior in to config file 2015-03-10 04:20:29 -05:00
CannibalVox
c72a03b558 Fixed limbo music 2015-03-10 04:03:45 -05:00
CannibalVox
07a986d39d Remove the procedural stuff more completely 2015-03-10 03:50:50 -05:00
CannibalVox
ff890fe7b6 If obelisks are just going to watch in limbo, make them act like that 2015-03-10 03:49:59 -05:00
CannibalVox
d4ff48435c Remove poly2tri because it's for stuff that never got finished 2015-03-10 03:29:42 -05:00
CannibalVox
c46e08c76e Make parts other than the monolith eye visible 2015-03-10 03:24:02 -05:00
CannibalVox
8368c55478 Obelisk eyes don't draw through walls now 2015-03-10 02:56:42 -05:00
CannibalVox
2ca661cc45 Fixed decay trying to decay limbo blocks then crashing 2015-03-10 02:56:18 -05:00
CannibalVox
42a04ff156 Fix sounds for 1.7 2015-03-10 02:55:15 -05:00
CannibalVox
198d1ac56f Remove the procedural rift rendering 2015-03-09 16:10:02 -05:00
CannibalVox
8c30d67ba2 Where'd that ++ come from? That shouldn't be there. 2015-03-09 16:09:35 -05:00
CannibalVox
394495baa6 Migrated the dungeons to 1.7 2015-03-09 16:07:48 -05:00
CannibalVox
735b06ded2 Forgot to register block rotations 2015-03-09 10:36:25 -05:00
CannibalVox
e47e9597ac Fix rotation issue for dimdoors 2015-03-09 09:35:06 -05:00
CannibalVox
76d2f20f5d Fix rifts not rendering, fix rifts not closing, door blocks not synched 2015-03-09 03:36:56 -05:00
CannibalVox
4d26a2ec31 Initial rendering fix for rifts 2015-03-08 17:46:42 -05:00
CannibalVox
22654722b6 Turns out items have to be registered now & other spot fixes 2015-03-07 02:20:06 -06:00
CannibalVox
5ef42b6bd3 Apparently biome 149 is taken by minecraft 2015-03-07 01:49:46 -06:00
CannibalVox
f78fadd8a8 I think this is how you use forgemessages(???) 2015-03-07 01:45:12 -06:00
CannibalVox
db92637ea3 Finally got the AT working 2015-03-07 01:34:17 -06:00
CannibalVox
89f256af09 Need to actally update this build script. 2015-03-06 21:05:43 -06:00
CannibalVox
6457c562a6 Fix schematics & add TE sync 2015-03-06 20:57:05 -06:00
CannibalVox
a0cf769bda More schematic fixes 2015-03-05 15:52:15 -06:00
CannibalVox
43c606c687 Some schematic fixes 2015-03-05 15:47:06 -06:00
CannibalVox
2a5774d477 Updated most of the networking code... a lot of it is probably broken
still
2015-03-05 15:28:37 -06:00