Commit graph

121 commits

Author SHA1 Message Date
SenseiKiwi
f56893018d Changed DungeonHelper into a singleton
Changed DungeonHelper into a singleton. Changed code in other classes to
interface with it properly.
2013-06-16 01:00:05 -04:00
SenseiKiwi
86f0cd7d21 Improved DungeonHelper.registerCustomDungeon()
Changed the function to use a Hashtable mapping dungeon types to their
respective lists so that it wouldn't be necessary to hardcode a
condition for each type. The code is much shorter now and we can add new
types with ease. The next stage will be to remove
weightedDungeonGetList, if possible, so that we don't have to construct
a list with duplicates just to have weights. The loop that repeatedly
inserted dungeons into that list has been removed anyway, but it
shouldn't affect anything since custom dungeon integration was broken
and weights were being ignored.
2013-06-15 11:21:49 -04:00
SenseiKiwi
1e2dedaafe Overhauling DungeonHelper
I changed the name filter for schematic names from
CommandEndDungeonCreation to DungeonHelper, and renamed it to
NamePattern. I also rewrote most of registerCustomDungeon() to be much
more concise. The changes are incomplete but I'm making an intermediate
commit. The aim is to change DungeonHelper into a proper singleton and
to eliminate the clunky sections that manually map dungeon categories to
their corresponding lists. Instead, I'll use data structures to
implement that far more efficiently.
2013-06-15 10:25:50 -04:00
SenseiKiwi
03d60dc07d Fixed bug in DDLoot, delayed loot generation
Changed DDLoot to use the correct item IDs when adding DD items to
chests. Moved loot chest registration from init() to postInit() in the
hopes that we'll be able to catch the loot of other mods that also hook
into Vanilla chests.
2013-06-15 01:58:53 -04:00
SenseiKiwi
b1130d0cc6 Overhauled loot generation
Dimensional dungeon loot chests are now registered with Forge. Other
mods can tap into our chests and our own generation is cleaner. The list
of items in our chests is generated in DDLoot.
2013-06-14 15:22:22 -04:00
StevenRS11
69cfc1369c release canidate 2013-06-14 03:17:23 -04:00
StevenRS11
078ee999be Merging changes 2013-06-14 01:53:30 -04:00
SenseiKiwi
b11354767d Overhauled configuration properties
Moved all configuration variables from mod_pocketDim to DDProperties
(formerly DimDoorsConfig). Changed property names to be clearer in
config file, modified some comments, and generally cleaned up the config
file. Fixed some missing properties and variables that were reading from
the wrong properties. Modified the order in which mod_pocketDim
instantiated some of its static fields so that they would load after
properties are read. Almost all classes load after properties are read.
Fixed indentation across various files and replaced references to
properties in mod_pocketDim with references to DDProperties.
2013-06-13 19:01:54 -04:00
StevenRS11
ebf35a056a Release canidate 2013-06-13 16:44:17 -04:00
SenseiKiwi
9c3067ed35 Renamed DimDoorsConfig to DDProperties
Renamed DimDoorsConfig to DDProperties
2013-06-13 00:48:21 -04:00
SenseiKiwi
e4c8b50dae Changed some configuration features
Added flag for disabling whether Stabilized Rift Signatures are
craftable. Autocorrected indentation in some areas. Renamed some
property keys in the config file, but the naming is inconsistent. Will
return soon to make all names consistent. Property values should be
removed from mod_pocketDim and moved to a file, e.g. DDProperties.
Configuration should either be loaded directly into the value variables
or be kept as a separate file, e.g. DDConfiguration. I favor for
integrating configuration reading into the same file as the values and
not declaring Property variables at all.
2013-06-12 23:30:13 -04:00
SenseiKiwi
2990e393e8 Merge remote-tracking branch 'upstream/master' 2013-06-12 21:48:49 -04:00
StevenRS11
e531c1e301 derptityderp 2013-06-12 19:05:46 -04:00
StevenRS11
38df0b225e derp 2013-06-12 18:00:00 -04:00
StevenRS11
b388a00e05 redid commands, added more rotation support. 2013-06-12 17:59:34 -04:00
SenseiKiwi
d54b7c287f another silly commit
another silly commit
2013-06-12 03:36:56 -04:00
SenseiKiwi
9db478fcc7 silly commit for testing purposes
silly commit for testing purposes
2013-06-12 03:28:57 -04:00
SenseiKiwi
a8d4c66ecb pruned imports in mod_pocketDim
pruned imports in mod_pocketDim
2013-06-12 03:08:34 -04:00
StevenRS11
bd1c1d0118 finished update, starting testing builds 2013-06-10 17:03:52 -04:00
StevenRS11
fa15c13d37 finished dungeon export basic implementation 2013-06-09 17:23:36 -04:00
StevenRS11
4858a69be5 Export function added 2013-06-04 08:52:06 -04:00
StevenRS11
b97eab46b5 rebuilt how rifts get dungeon data assigned to them 2013-06-03 20:56:15 -04:00
StevenRS11
a8ac17f81b fixed dungeon gen 2013-06-02 23:49:47 -04:00
StevenRS11
004d06ab7d more work on import 2013-06-02 09:57:05 -04:00
StevenRS11
c16dd49a18 changed import function 2013-06-02 01:46:31 -04:00
StevenRS11
27c073f75d .schematic importer finished 2013-06-01 21:43:56 -04:00
StevenRS11
6a95c9eb33 respawn handler and config changes 2013-05-31 02:17:05 -04:00
StevenRS11
6dcbc100ed fixed servercrash 2013-05-30 14:32:19 -04:00
StevenRS11
364241a162 finished mob (I think) 2013-05-30 02:30:17 -04:00
StevenRS11
602eb4bcff more mob tweaks, texture tweaks 2013-05-29 14:45:14 -04:00
StevenRS11
8365d4353f added dungeon to dimData, spawn fixes for monolit 2013-05-28 17:15:40 -04:00
StevenRS11
ceac1e0d3b soundtest 2013-05-28 00:02:33 -04:00
StevenRS11
9ad4dda324 finished sounds 2013-05-27 22:45:21 -04:00
StevenRS11
1233e2a040 mob is coming!! 2013-05-27 08:10:07 -04:00
StevenRS11
5b61f6435d removed dev mob 2013-05-26 20:01:44 -04:00
StevenRS11
6407b1be71 fixed rift sig depth
adding mob

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-05-20 19:07:13 -04:00
StevenRS11
5682e3fc30 Working with biomes and such, trying to prevent crazy mob spawns
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-05-10 16:05:11 -04:00
StevenRS11
871634c772 updated build info
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-05-09 17:21:21 -04:00
brikeener
8cfb157699 Updated to 1.5.2, Forge build 688 2013-05-08 16:29:01 -04:00
StevenRS11
89ed9dce94 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-05-04 14:54:54 -04:00
StevenRS11
3a1e430707 fixed default up dungeon schematic name
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-30 22:09:20 -04:00
StevenRS11
c3fda5abff release canidate for 1.5.1- fixed rift render bug, and dimension exit rift handling improved
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-29 19:03:38 -04:00
StevenRS11
988ba51b78 fixed random dim stuff when dungeons are generated
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-17 16:26:39 -04:00
StevenRS11
be459b62b3 fixed dimHatch bug
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-17 15:59:15 -04:00
StevenRS11
3579070eb9 Moved file structure around a bit, and added stabilized rift sig
fixed XP bug moving through doors
made items shut doors again

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-16 20:48:49 -04:00
StevenRS11
25754d7137 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-04-13 21:19:34 -04:00
StevenRS11
f816e96bdb moved rift sigs over to use nbt data
fixed limbo inventory issues
changed rift generation on dim door placement

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-13 21:15:06 -04:00
StevenRS11
2d6d430277 Doors dont close on items, have short cooldown
readded decay and rift regen

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-07 02:33:11 -04:00
StevenRS11
cefbd1c0a8 fixed rift sig shine issue- moved to NBT data
fixed NEI bug

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-07 00:37:13 -04:00
StevenRS11
76ad71cec9 Merge branch '1.5udpate'
Moving 1.5 update into master

Conflicts:
	StevenDimDoors/mod_pocketDim/mod_pocketDim.java

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-01 16:50:51 -04:00
StevenRS11
19b099479f Changed name and fixed block update issues when setting door rotation
Also improved random rift code

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-01 16:45:16 -04:00
StevenRS11
49b5925ae5 final update for 1.4.7- optimized random rift code, reverted name change
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-01 16:43:11 -04:00
StevenRS11
d3123a33f2 Merge branch 'master' of git@github.com:StevenRS11/DimDoors.git into 1.5udpate
Conflicts:
	StevenDimDoors/mod_pocketDim/EventHookContainer.java
	StevenDimDoors/mod_pocketDim/mod_pocketDim.java
2013-04-01 04:04:59 -04:00
StevenRS11
f9c1e41677 Finally fixed spawn bug. Still no idea why it was happening though
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-01 03:15:16 -04:00
StevenRS11
dcd469dc94 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-03-29 18:47:12 -04:00
StevenRS11
ccce338f97 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-03-29 18:43:48 -04:00
StevenRS11
fc45767963 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-03-29 18:19:27 -04:00
StevenRS11
508e2f3b4d Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-03-28 18:17:47 -04:00
StevenRS11
f8ec5044d1 Signed-off-by: StevenRS11 <steven.r.stafford.ii.14@dartmouth.edu> 2013-03-24 00:52:50 -04:00
StevenRS11
37d82207d7 added another command- delete_all_links
Signed-off-by: StevenRS11 <steven.r.stafford.ii.14@dartmouth.edu>
2013-03-23 02:29:20 -04:00
StevenRS11
55dc5edb9b added server commands, prune_pocket_dims and delete_rifts <dimID>
Signed-off-by: StevenRS11 <steven.r.stafford.ii.14@dartmouth.edu>
2013-03-23 01:25:50 -04:00
StevenRS11
c4172804d0 Signed-off-by: StevenRS11 <steven.r.stafford.ii.14@dartmouth.edu> 2013-03-18 18:42:56 -04:00
StevenRS11
3bdf78c0f5 Finished dim door rail compatability
todo- rift blade sound
2013-03-10 18:39:17 -04:00
StevenRS11
e24acd4038 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-03-10 12:49:29 -04:00
StevenRS11
ddc7bf0f64 rift blade creates rifts, doors can teleport carts and items
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-03-09 23:04:20 -05:00
StevenRS11
c926e71021 take 2
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-03-03 16:56:09 -05:00
StevenRS11
6ee95c044c Default block ID change
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-03-03 16:46:48 -05:00
StevenRS11
c62cd5039d Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-02-21 17:07:28 -05:00
StevenRS11
c6262ff0a6 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-02-19 21:18:51 -05:00
StevenRS11
448dbd125e Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-02-18 00:25:32 -05:00
StevenRS11
7084d88aa0 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-02-17 21:46:16 -05:00