Commit Graph

87 Commits

Author SHA1 Message Date
Brianna O'Keefe
76c3db539f Craftable Spawners 2019-02-19 09:51:05 -05:00
Brianna O'Keefe
65779a2f4c Removed Arconix. 2019-01-21 17:38:17 -05:00
Brianna O'Keefe
ddcfab435f Cleaned up random in es give. 2019-01-11 21:09:32 -05:00
Brianna O'Keefe
b7e35d9ccc Fixed issue where redstone would sometimes not correctly identify. 2019-01-03 20:25:36 -05:00
Brianna O'Keefe
8d0153ad4a Fixed boosting factions, towny and skyblock. 2019-01-03 20:25:32 -05:00
Brianna O'Keefe
607c5ad549 added spawner limits per players. 2018-12-15 06:10:39 -05:00
Brianna O'Keefe
5805244907 Update EpicSpawners-Plugin/pom.xml, pom.xml, EpicSpawners-API/pom.xml, .gitlab-ci.yml files 2018-11-15 20:13:07 +00:00
Frostalf
4262d3a5f6 Merge origin/master
Conflicts:
	EpicSpawners-Plugin/src/main/resources/plugin.yml
	pom.xml
2018-11-15 00:38:13 -08:00
Frostalf
61dd5db461 Modularize project. 2018-11-14 16:33:34 -08:00
Brianna O'Keefe
eceeb1a0f6 added the ability to disable particles 2018-11-12 13:52:33 -05:00
The_Creeper_Cow
0b20840183 POM updated 2018-10-18 22:35:58 +02:00
Brianna O'Keefe
f288a88155 Added an event fired on when a entity spawns. 2018-09-22 19:50:25 -04:00
Brianna O'Keefe
b2ebbdc45a removed some deprecated functions. 2018-09-05 19:12:41 -04:00
Brianna O'Keefe
8ebbfe8600 Compiles against 1.13
Spawner Identification system is now uuid based.
omni spawner holograms are now named correctly.
2018-07-22 17:03:40 -04:00
Brianna O'Keefe
9324449329 Added getX, getY, getZ, and getWorld to the spawner API
Spawn task will now store only existing spawner object rather than new location objects every cycle.
2018-06-06 14:42:43 -04:00
Parker Hawke
fa72fa5e24 Document SpawnCondition and add an #asPredicate() method 2018-06-06 14:41:28 -04:00
Brianna O'Keefe
aac66b2e40 Changed build version.
Fixed bug with placing spawners that are not epic spawners.
2018-05-27 13:37:45 -04:00
Brianna O'Keefe
135af19e20 Completed the conditions system.
Spawners.yml now reloads on /es reload.
2018-05-26 13:48:08 -04:00
Parker Hawke
1f2049b142 Add the beginnings of a spawn condition API 2018-05-21 00:38:56 -04:00
Brianna O'Keefe
9ee6595cf3 Cleaned up. 2018-05-20 03:12:39 -04:00
Brianna O'Keefe
f443b05ad1 Entities are now loaded into spawnerdata correctly.
SpawnBlocks now respect SpawnerData
2018-05-19 23:35:42 -04:00
NovaFox161
1f62b07ecc Fix the .gitignore 2018-05-19 13:28:36 -05:00
NovaFox161
f099987aef Getting closer 2018-05-19 13:22:46 -05:00
Brianna O'Keefe
c35a305da8 Custom Events enabled.
Xersion incremented.
2018-05-19 01:21:31 -04:00
Brianna O'Keefe
7b29db820b Fixed shop lineup 2018-05-18 19:26:52 -04:00
Parker Hawke
c46adeefcb Improve all custom events for the EpicSpawners API
In committing this, it should be known that no event other than the SpawnerChangeEvent is actually called... this should be changed in a future commit to call all custom events when required.
2018-05-18 15:51:29 -04:00
Parker Hawke
ef6b4a9e39 Documented everything in the API that was previously undocumented 2018-05-17 23:47:33 -04:00
Parker Hawke
14c2747852 Replace hooks with a brand new, more flexible, hook system
This commit marks the start of developers supporting EpicSpawners, not the other way around. For plugins wanting to support EpicSpawner's features, they should depend on the API, write and register a custom ProtectionPluginHook implementation.
2018-05-17 23:19:01 -04:00
Brianna O'Keefe
8b8355da67 Removed a api option I didnt end up needing. 2018-05-17 16:39:19 -04:00
Brianna O'Keefe
aca42b6de7 Added a separate timer for custom spawners as the default one caused them not to work correctly.
Resolved some issues with the editor.
2018-05-17 16:23:11 -04:00
NovaFox161
b0fc01492c Should fix the deployment issues. 2018-05-16 17:26:43 -05:00
Parker Hawke
7262afae89 Add a new #addSpawnerData(SpawnerData) method to SpawnerManager
This is a follow-up commit to EpicSpawners#createSpawnerData() and having to awkwardly register it with the previous method
2018-05-16 13:28:55 -04:00
Parker Hawke
da08760a28 Add a SpawnerDataBuilder interface and implementation
This interface allows for easy, single-line construction of SpawnerData instances which was previously either impossible or very difficult to do in a clean way. An instance of SpawnerData was required and a sequence of methods had to be invoked in order to get the desired effect. The builder pattern should alleviate these issues.
2018-05-16 13:16:06 -04:00
Brianna O'Keefe
2905e9437c Resolved an issue with the editor not opening when a spawner display item has been set to air.
Page to for the spawnereditor will now appear if there are less than 4 items on that page.
clicking the last item in the spawner editor will no longer show you the pig spawner.
The "give" command will now properly parse arguments
The "give" command will now show the correct stack size of a spawner when you don't fill out the stack size parameter.
Spawners will no longer display 0x if they are a 1x spawner.
Fixed an issue with giants in the spawner editor.
2018-05-16 13:15:41 -04:00
Brianna O'Keefe
f75ed65f75 Fixed a bug 2018-05-16 13:15:25 -04:00
Brianna O'Keefe
9fb55b643f Changes:
Changes to the API:
Spawners are now consistently defined with our SpawnerData object.
Deprecated methods:
SpawnerManager#getSpawnersInWorld()
SpawnerManager#getRegisteredSpawnerData()
SpawnerChangeEvent#getCurrentMulti()
SpawnerChangeEvent#getOldMulti()
SpawnerChangeEvent#getType()
SpawnerChangeEvent#getOldType()
SpawnerDropEvent#getMultiSize()
Spawner#stack(Player, String, int)
Added Methods:
EpicSpawners#newSpawnerItem(SpawnerData, int)
EpicSpawners#newSpawnerItem(SpawnerData, int, int)
EpicSpawners#getSpawnerDataFromItem(ItemStack)
EpicSpawners#getStackSizeFromItem(ItemStack)
SpawnerData#toItemStack()
SpawnerData#toItemStack(int)
SpawnerData#toItemStack(int, int)
Fixed an issue with the display names for the SpawnerStats.
Reprogrammed out ParticleHandler to be faster and more reliable.
Temporary player data is now more efficient.
2018-05-16 13:15:22 -04:00
Brianna O'Keefe
85f1a563d6 Split into plugin and api 2018-05-16 13:15:06 -04:00