Commit graph

157 commits

Author SHA1 Message Date
Runemoro
ff6ba0f7ba Merge horizontal and vertical entrances 2017-12-20 16:07:05 -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
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
Waterpicker
ebfd75ace2
Fixed fullbright texture. 2017-12-18 16:51:56 -06: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
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
Waterpicker
36270f7e11 Fixed the look of the personal pocket dimensions. 2017-12-13 23:35:53 -06:00
Runemoro
b1efc3592c Merge branch '1.12-WIP' into registry-rewrite 2017-12-13 14:57:16 -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
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
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
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
37914faf14 Finish update to 1.12.2 2017-12-03 06:43:44 -05: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
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
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
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
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
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
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
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
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
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
85f62ca323 Trying to repair teleportation 001 2017-01-25 20:13:25 +01:00
Waterpicker
e027947fb0 Big batch of unfinished items. 2017-01-21 06:54:20 -06: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
16416e35d4 Added rest of Item textures and semi implmentted the Rift Blade. 2017-01-20 03:54:26 -06: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
Waterpicker
9327a33674 New Tesseract Animation for Rift Tile Entitiies. 2017-01-16 20:04:32 -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
3a282486d3 Setup
-Updated Gradle Wrapper and Forge version.
-Setup Netbeans
-Minor changes in MCMod.info
2017-01-11 15:42:29 +01:00