Commit graph

281 commits

Author SHA1 Message Date
Runemoro
b0b45d79c8 Fix bugs 2020-03-16 07:20:56 -04:00
Runemoro
a9edc5e564 Start porting to 1.15 2019-12-07 20:47:50 -05:00
Waterpicker
5b1bd232ab Converted Eternal Fabric into a proper fluid block 2019-11-28 03:03:01 -06:00
Waterpicker
2118ba3cc3 Pushed current code for Runemoro to review 2019-07-19 00:27:35 -05:00
Jon
1dad486912 Compressing and updating final version of white void 2018-09-30 20:20:47 -05:00
Waterpicker
98b4db0c2c Added the White Void track by Lachney for pocket dimensions. 2018-09-03 05:38:15 -05:00
Waterpicker
64ba89dbdc Uploaded new prototype block - Marking Plate 2018-07-02 00:46:51 -05:00
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
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
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
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
54d53a4568 Fix a few bugs 2018-04-20 02:13:15 -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
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
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
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
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
b87a810d2c Merge multiline lang keys 2018-03-28 21:39:32 -04:00
Runemoro
31c0f9c676 Config localization and tile entity simplification 2018-03-27 16:17:15 -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
Robijnvogel
9b98941ca0 Crafting and localisation tweaks
- Made the crafting recipes of a few doors that virtually only create 1 of themselves in the world a bit cheaper.
- Changed "grey" to the 'Murican "gray" in the lang files.
2018-02-28 11:11:17 +01:00
Robijnvogel
ccb3f5e85b Re-generated Public Pockets
- Repaired public and private pocket auto-gen gradle command
- Regenerated all auto-generated pockets
- Increased alpha version number
- Solves #44
2018-02-25 21:39:58 +01:00
Runemoro
b7aab958ac Convert the schematics 2018-01-27 05:09:36 -05:00
Runemoro
9350b913ff Get ready to convert the schematics
- Simplified code to have a single blockstate loop and made everything simpler
 - Palette no longer contains unused IDs such as sandstone or door default blockstates
 - Schematics use placeholders for doors and monolith to make updating them not require changing all the schematics
 - Fixed bug where book wasn't being translated
 - Make a library with default destinations and link properties
 - Remove translateIdCrude, since the schematic conversion code won't be run from outside the dev environment anymore
 - Looked at net.minecraft.util.datafix to check if there were any updates that needed to be done
 - Added error checking code to make sure everything is being converted correctly
 - Removed schematic info generator, that will be added to a separate tool that can run on the new schematics (once the old ones are replaced)
 - Manually checked the NBT to make sure everything is ok
 - Fixed the schematic containing sandstone at y=0 (it was obvious it needed to be ancient fabric)
 - Changed door item ids from "dimensional_door" to "iron_dimensional_door" and from "warp_dimensional_door" to "oak_dimensional_door" to match vanilla (we might want to implement more/all wood types in the future, so it's better to do it now rather than have to convert all schematics) and renamed "rift"
 - Added "powered" to note blocks NBT (checked which were powered before)
 - Added "CookTimeTotal" to furnace NBT
 - Fix the_nexus having SenseiKiwi's hideout door being converted to a dimensional door
2018-01-27 04:22:33 -05:00
Runemoro
5ba2c7a82b Small fixes 2018-01-24 05:17:42 -05:00
Runemoro
ed8f57e0d9 Localization, use CommandExceptions, and other improvements 2018-01-24 03:04:15 -05:00
Runemoro
df135438a2 Add dungeons from 0ed3a736e3 2018-01-23 18:15:44 -05:00
Runemoro
0b4e063ace Do many TODOs 2018-01-23 03:16:54 -05:00
Robijnvogel
edb4497e1e Dispenser Loot Tables update
- Added Splash Potions, Tipped Arrows, Snow Balls and Spectral Arrows to the Dispenser loot table(s)

UNTESTED

Todo: add EnderMite and SilverFish eggs to these loot tables as well?
2018-01-22 00:06:11 +01:00
Runemoro
a7dc1ad9b1 Small fixes and more default pockets
- Fix ExtendedStorageArray bug
 - Add more default pockets
 - Make blockData a short array rather than an int array, halving memory usage
2018-01-21 08:47:56 -05:00
Robijnvogel
6aa2ab8d55 Found piece with FoamFix
- Removed soft FoamFix dependency
 - Sorted a switch case tree by key
 - Added conversion for that 1 World Thread in 1 dungeon
 - Made translateId method more sturdy by hardcoding some fall-back values, so FoamFix doesn't crash it anymore.
 - Changed Schematic author SK to full name: SenseiKiwi
2018-01-21 08:53:23 +01:00
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
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
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
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
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
Waterpicker
a62c461ff5 Added a new version of creepy to test. 2018-01-18 21:51:59 -06:00
Runemoro
7fb9e8bd85 Update pockets and fix registry recursion bug 2018-01-18 22:30:51 -05: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
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
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
Runemoro
a9a780c64c Update textures and models to 1.12 2018-01-11 04:08:04 -05:00
Runemoro
2b0fde9633 Bug fixes and code improvements 2018-01-05 20:33:19 -05:00
Runemoro
f5cc44e868 Rift colors 2018-01-02 09:39:18 -05:00
Runemoro
8f1ef8c7bf Stable rift signature 2018-01-02 04:40:12 -05:00
Waterpicker
6c1d784691 Added Woven World Thread Armor 2017-12-31 21:22:01 -06: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
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
ffd8c6ed3c Split teleportation logic and make it extensible by other mods 2017-12-25 23:27:21 -05:00
Runemoro
00e02bd7ea Fix pocket schematics 2017-12-22 03:00:22 -05:00
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