Commit graph

1359 commits

Author SHA1 Message Date
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
ZombieHDGaming
590358dbbf Update README.md 2017-04-01 20:20:07 -04:00
ZombieHDGaming
3d37ba8fa8 Update README.md 2017-04-01 20:19:16 -04:00
ZombieHDGaming
ee3ab20bde Update README.md 2017-04-01 20:15:40 -04:00
ZombieHDGaming
b469056c64 Update README.md 2017-04-01 20:06:08 -04:00
ZombieHDGaming
8577020e11 Update README.md 2017-04-01 20:05:17 -04:00
ZombieHDGaming
40e10360c0 Update README.md 2017-04-01 19:53:22 -04:00
ZombieHDGaming
d6d0a0bacc Update README.md 2017-04-01 19:52:20 -04:00
ZombieHDGaming
9875920023 ReadMe File proper update
Created a new ReadMe file with a more proper description (for the time being) and Markdown.......A e s t h e t i c s.
2017-04-01 19:33:15 -04:00
ZombieHDGaming
dffa05f4d7 Delete CREDITS-fml.txt 2017-03-28 17:48:57 -04:00
ZombieHDGaming
659b8a974c Delete LICENSE-new.txt 2017-03-28 17:48:32 -04:00
ZombieHDGaming
87b188bc0c Delete MinecraftForge-Credits.txt 2017-03-28 17:46:41 -04:00
ZombieHDGaming
190c48a66f Delete MinecraftForge-License.txt 2017-03-28 17:45:46 -04:00
ZombieHDGaming
b34d0727b6 Delete Paulscode IBXM Library License.txt 2017-03-28 17:45:07 -04:00
ZombieHDGaming
e715a080e4 Removing Unneeded Files
Removing files in main area that are unneeded for the project.
2017-03-28 17:35:33 -04: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
5e255f9347 Merge remote-tracking branch 'refs/remotes/origin/1.10-Pockets' into 1.10-WIP 2017-01-28 13:45:30 +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