t00thpick1
e091a8eb55
Fix material validation errors.
2016-03-20 12:42:16 -05:00
t00thpick1
d579c9a2af
Merge pull request #2829 from DorCoMaNdO/master
...
Stop duplicate messages from abilities.
2016-03-17 19:38:55 -05:00
Dor
a711d3a3e3
Stop duplicate messages from abilities.
2016-03-18 02:18:40 +02:00
t00thpick1
fd3d60d112
Merge pull request #2828 from SidShakal/master
...
Moved center of block drops to block center. Fixes #2544 .
2016-03-17 11:16:24 -05:00
Sid Shakal
60bfabb097
Moved salvaged material spawn center to center of top face of anvil.
...
My fix for the central spawn points of various block-based item drops
moved them from the low corner of the block to the center of the block.
In the case of the salvaged materials, this moved the central spawn
point from the low corner of the top face of the anvil block to the
center of the block above the anvil block. This felt unnatural, so the
point has been moved to the center of the top face of the anvil block.
2016-03-17 02:06:19 -05:00
Sid Shakal
123a139e43
Moving the center of block drops to block center. Fixes #2544 .
2016-03-16 11:47:40 -05:00
t00thpick1
ec774b590b
Fix potions. Fixes #2813 , #2814
2016-03-16 00:39:36 -05:00
Dor
98511136ee
Fix Shroom Thumb not removing the item held.
2016-03-12 20:35:19 +02:00
Dor
40c61149cf
Treat grass paths as grass.
2016-03-12 08:12:27 +02:00
Dor
a557fc7d3c
Use getItemInMainHand()
...
Add 1.9 blocks to be detected for experience rewards.
Add experience rewards for the Chorus plant.
Add experience rewards for the Shulker mob.
2016-03-11 16:20:23 +02:00
Tslat
bddca30668
Fix infinite GreenThumb & ShroomThumb usage bug
2016-03-05 20:39:16 +10:00
t00thpick1
f52d9feef8
Update Alchemy for 1.9 Configuration style has changed, but theoretically old version should still work I think.
2016-03-01 17:05:58 -05:00
t00thpick1
f77ae6ee15
Biome needs to be in the enum compatability as well.
2016-03-01 13:25:51 -05:00
t00thpick1
88b99a3835
I *think* this should be backwards compatible, I may be wrong and it could break both.
2016-03-01 13:08:11 -05:00
t00thpick1
8d16af8770
Why is my local compiler missing thigns the CI hits?
2016-03-01 12:42:26 -05:00
t00thpick1
fde9ba86a2
Actually update all sounds
2016-03-01 12:39:05 -05:00
t00thpick1
c9356f9ef5
Update for 1.9 Sound enum changes. Now only compatible with 1.9+
2016-03-01 12:21:00 -05:00
t00thpick1
420559efec
Append to existing lore when crafting Flux Pickaxes. Fixes #2557
2015-11-12 19:13:27 -05:00
t00thpick1
ac9447d439
This is actually not correct.
2015-11-04 16:31:30 -05:00
t00thpick1
a5bcc3ce58
Correctly identify tree species. Fixes #2667
2015-11-04 16:06:28 -05:00
t00thpick1
a020890244
Remove hardcoded nerf to treefeller. Fixes #2666
2015-11-04 15:53:38 -05:00
t00thpick1
50e727d591
Fix salvaging to return more than 1 item. Fixes #2627
2015-11-04 15:35:22 -05:00
t00thpick1
f84e98d836
Simulate block break for flux mining. Fixes #2668
2015-11-04 15:27:03 -05:00
t00thpick1
9b24dd306c
Actually use Hylian Treasure config values. Fixes #2688
2015-11-04 13:35:25 -05:00
t00thpick1
eff53d90ab
We need to preserve block data with our double drops for silk touch. Fixes #2625
2015-07-25 22:30:22 -04:00
t00thpick1
4fe41fe416
Check Item Type, not Material Type a second time. Fixes #2584
2015-06-11 21:15:40 -04:00
t00thpick1
4aeda6e9e8
Still not fully on track with the original event, but as we want them to see the potions we create, we can't be fully correct. However, correcting the behavior to decrement the ingredient after the event shouldn't harm anything. Fixes #2486
2015-03-18 16:23:07 -04:00
t00thpick1
4f1f10333f
Use notification settings for critical hits Fixes #2498
2015-03-18 16:09:15 -04:00
TfT_02
5670e6696a
Archery distance XP bonus cannot exceed indefinitely anymore
...
Fixes #2465
2015-02-21 09:42:22 +01:00
t00thpick1
30ebe318e0
Since apparently we magically can no longer compile without these.
2015-02-16 22:13:32 -05:00
t00thpick1
4f1004472c
Possibly fix berserk bug
2015-02-15 22:03:58 -05:00
mjkaufer
9426f44cdd
Added isUnarmed Method
...
Checks if the player is not holding a tool, as opposed to checking if
the player is holding air. This means that attacking with something such
as a dirt block would count as unarmed.
2014-12-29 16:31:18 +01:00
TfT_02
af7ff3df58
Make Archery distance multiplier configurable
...
Add #2385
2014-12-24 11:00:43 +01:00
TfT_02
522b085499
Fix bug where no XP was granted when Flux Mining
...
Fixes #2359
2014-12-22 17:25:55 +01:00
TfT_02
3ea845cfd9
Changed Flux Mining mechanics
...
Previously, Flux Mining would get unlocked at a specified level with a
specified chance. Once unlocked, the player would have no control over
this ability and some players complained they would like to be able to
turn it on and off.
By adding a new furnace recipe, to craft a special pickaxe - a Flux
Pickaxe - this issue is solved. If a player doesn’t want to use Flux
Mining, they simply shouldn’t mine using a Flux Pickaxe.
Crafting a Flux Pickaxe is simple, just place one of the vanilla
pickaxes in a furnace and cook it up.
Every time the ability is successful, extra durability damage is dealt
to the tool. Just like with other abilities.
Adds #2320
2014-12-22 16:58:22 +01:00
TfT_02
d5a2dea06b
Add option to shake items from player inventories
2014-12-20 23:55:49 +01:00
TfT_02
d188224c06
Make it possible to shake heads from players
2014-12-20 23:55:49 +01:00
TfT_02
3422c5d3eb
Don't need this here
2014-12-20 19:14:52 +01:00
TfT_02
ebeebbde72
Randomize spawn location of Call of the Wild pets
...
So that when you’re spawning multiple pets at once, they don’t all
spawn at the same spot.
2014-12-20 19:14:52 +01:00
t00thpick1
429a7d926a
1.8 changed the inheritance structure of Squids, this update resolves issues that cropped up from this change.
2014-12-18 18:15:02 -05:00
t00thpick1
cfc51e9b96
use players for events
2014-12-17 22:34:42 -05:00
TfT_02
5d246d2701
Add missing UserManager check
...
Caused an java.lang.IndexOutOfBoundsException: Index: 0
Fixes #2335
2014-10-25 17:29:58 +02:00
TfT_02
63b332216e
Read summon item from config in /taming command
2014-10-11 11:38:53 +02:00
TfT_02
8e5340ebc3
Wolves attack a target when shot by their owner
2014-10-11 11:38:53 +02:00
TfT_02
e4af611c91
Fix formatting of TreeFeller threshold locale key
2014-10-11 11:38:52 +02:00
TfT_02
c31281971c
Summon amount limits and new ability
2014-10-11 11:38:52 +02:00
TfT_02
eda38cba66
Add lifespan to Taming summons
2014-10-11 11:25:57 +02:00
TfT_02
864a760e9c
Better like this
2014-10-04 14:16:38 +02:00
Ivo Julca
958c116fd0
Acrobatics: cap same-location fall counter for XP gain
...
It used to increase boundlessly, thus preventing players from gaining XP for a while even after moving to another place.
2014-09-28 11:19:41 +02:00
TfT_02
2650d57d8e
Added options to experience.yml for Dirt and Sand variations
...
Adds #2194
2014-08-19 21:28:53 -06:00
TfT_02
75cbfa1b1c
Ensure player has mcMMOPlayer object in brewing
...
Fixes #2086
2014-07-24 12:29:42 +02:00
TfT_02
8fd94b625c
Fix Blast Mining and change its behavior slightly
...
Fixed bug where Blast Minings ability "Demolition Expert" would not
work with certain CB versions. DanageCause.BLOCK_EXPLOSION was not
passed, ENTITY_EXPLOSION was used instead.
Changed behavior of the Blast Mining ability "Demolition Expert"; now
only decreases damage for the ability user and for Blast Mining
explosions.
2014-07-20 00:43:53 +02:00
TfT_02
ccca3fff26
Don't use hardcoded unlock levels for Blast Mining
2014-07-20 00:43:52 +02:00
TfT_02
1c30146491
Fixed bug where Berserk deletes items
...
when the players inventory is full.
Fixes #1947
2014-07-15 15:25:02 +02:00
TfT_02
2b9b5df1ee
Alter original event and stop firing FakeDamageEvents
...
Fixes #2105
2014-07-02 11:28:21 +02:00
TfT_02
e7e62b8d40
SecondaryAbilityEvent now implements Cancellable
...
Fire SecondaryAbilityEvent for abilities with static chances
Also cleanup some of the event handling for Armor Impact, Greater
Impact and Fast Food
2014-07-02 11:25:13 +02:00
TfT_02
e796eae3c3
Update for new damage API
2014-07-02 11:25:08 +02:00
TfT_02
8e474170e4
Fix crafting with items received from Salvage
...
Only set metadata on Salvage items when it’s not set to -1
Fixes #2078
And cleanup some javadocs in Salvageable
2014-06-18 11:44:21 +02:00
TfT_02
f75e15dfdc
Set a pretty repair material name in tools.yml
...
Adds #1863
2014-06-15 17:31:50 +02:00
TfT_02
b107a8dc7c
Fire brew event after outputs have changed
...
and before experience is granted.
Part 2 of fixing #2041
2014-06-09 02:04:59 +02:00
TfT_02
37aebc1716
Calculate Alchemy XP based on potion stage
...
Adds #1926
2014-06-09 01:56:07 +02:00
TfT_02
836877ff93
Alchemy should fire BrewEvents
...
Fixes #2041
2014-06-09 01:43:50 +02:00
TfT_02
6d719988bf
Remove this check here, allows Salvage in Adv mode
...
We’re already checking if the players game mode isn’t CREATIVE, so we
can safely remove this check.
Fixes #2059
2014-06-03 12:23:42 +02:00
TfT_02
93d63dbca5
Minor cleanup of imports
2014-05-18 17:06:50 +02:00
TfT_02
4643cf1070
A whole bunch of more work to convert Salvage to a child skill
2014-05-18 17:04:39 +02:00
GJ
91bf54019e
Convert Salvage to a child skill.
2014-05-18 17:04:38 +02:00
TfT_02
8fec1af257
Fix a bunch of small formatting issues
2014-05-11 15:15:44 +02:00
TfT_02
9f53426511
Added API to XP events to get XP gain reason
2014-04-18 22:32:32 +02:00
TfT_02
618cfad100
Prevent accidentally breaking regrown crops
...
Adds #828
2014-04-06 14:41:40 +02:00
TfT_02
3390a31cc6
Move PlayerUpdateInventoryTask to runnables.player
2014-04-05 11:59:36 +02:00
TfT_02
faa11a87a9
Removed "Treasure found!" message
...
Because when treasures are found in vanilla Minecraft, there isn’t a
message either
2014-03-29 17:12:55 +01:00
TfT_02
91da5c4ab1
Add option to drop extra fish
...
Allows enabling of old fishing mechanic where fish was always caught,
even when a treasure was found
2014-03-29 17:12:54 +01:00
GJ
da5e770e06
Add Podzol & Red Sand to Excavation
2014-03-29 17:12:54 +01:00
TfT_02
225de799e8
Increase TreasureHunter chances for Luck enchantment
...
When the player is using a fishing rod with the ”Luck of the Sea”
enchantment, the drop chances will increase with 1% for each level of
the enchantment.
2014-03-29 17:12:36 +01:00
TfT_02
334c44760f
Workaround for ClassCastException: MaterialData cannot be cast to Tree
2014-03-29 17:12:36 +01:00
TfT_02
ac7fc1020d
Use tree species for Woodcutting double drops in config.yml
...
Oak is now Generic, and Spruce is now Redwood.
2014-03-29 17:12:36 +01:00
riking
461871327b
Include new 1.7 biomes in fishing biome XP boost and Ice Fishing check
2014-03-29 17:12:36 +01:00
GJ
60ddd799de
Update mcMMO for Minecraft 1.7.2
2014-03-29 17:12:35 +01:00
TfT_02
0fe3ad7432
Reworked COTW config options + made COTW item configurable
...
Adresses #1481 partially
2014-03-23 14:33:57 +01:00
TfT_02
04e5dda127
Actually fix Repair lucky perk with Arcane Forging downgrade chance
2014-03-23 14:33:57 +01:00
TfT_02
f65adea2f9
Added minimum jump strength requirement and config option
...
for horses summoned with "Call of the Wild"
2014-03-23 13:41:31 +01:00
TfT_02
cdfb0da5c9
Fixed bug where shift right clicking potion ingredients was broken
2014-03-23 12:59:43 +01:00
TfT_02
01b7d4f742
Repair lucky perk should decrease the Arcane Forging downgrade chance,
...
instead of increasing it.
2014-03-14 15:16:22 +01:00
TfT_02
862d38b587
Clean up all of the imports
2014-03-03 18:27:45 +01:00
GJ
0e641f7c5b
Clean up some of our metadata handling.
2014-03-03 08:48:16 -05:00
GJ
733d16cf35
Don't clone if it's null. Fixes #1894
2014-03-03 08:03:30 -05:00
GJ
ce59488e8e
Add FakeEntityTameEvent to match expected behavior for an animal being tamed.
2014-02-28 12:04:00 -05:00
GJ
47db522cc1
Because Bukkit doesn't set this automatically with setTamed. Go figure. Fixes #1888
2014-02-28 11:50:36 -05:00
GJ
0056be2d5f
Assorted cleanup.
2014-02-28 08:36:42 -05:00
GJ
d0b0786284
Fixed exploit involving Call of The Wild. Fixes #1877
2014-02-20 11:50:56 -05:00
roblikescake
09431ef27c
Check durability before repairMaterial
2014-02-16 00:18:27 +01:00
TfT_02
d9c04a09ba
No need to clone here and it's not null checked
...
Fixes #1864
2014-02-15 23:35:14 +01:00
TfT_02
b3a6c32ef6
Skip glass bottles as well
...
Fixes #1859
2014-02-15 11:18:11 +01:00
TfT_02
254f3b5ac9
Cleanup finishBrewing a bit
2014-02-15 11:17:31 +01:00
TfT_02
f79a4741cc
Store Locations, not BlockStates
...
Fixes #1862
2014-02-15 01:31:13 +01:00
GJ
fbee3318bd
These go the other way around.
2014-02-12 08:29:14 -05:00
TfT_02
4b9d472f10
Fix ConcurrentModificationException with alchemyBrewTask.finishImmediately()
...
Fixes #1848
2014-02-12 11:16:05 +01:00
GJ
988006f913
Alchemy cleanup, part 1.
2014-02-11 16:22:57 -05:00
TfT_02
4486261413
Schedule an Alchemy check after using a hotkey to add ingredients
...
Fixes #1834
2014-02-07 13:39:24 +01:00
GJ
8e040ae8d9
Refactor to match existing conventions
2014-02-03 14:57:45 -05:00
GJ
0c9836eb03
Made mod config files modular. Addresses #1802
2014-02-03 14:48:43 -05:00
TfT_02
62b13a9a84
Fixed bug where Snow would never drop treasures
...
Fixes #1820
2014-02-01 00:30:42 +01:00
TfT_02
6264bfa15f
Don't store Block objects, use BlockState
...
Fixes #1811 , Closes #1822
2014-01-30 20:45:21 +01:00
TfT_02
a1c1271d21
Fix issues pointed out by the FindBugs plugin
2014-01-20 23:20:51 +01:00
TfT_02
f39623c279
Bit of Alchemy cleanup
2014-01-20 22:38:04 +01:00
GJ
43e2c813d1
Clean up some of our messes.
2014-01-20 13:58:40 -08:00
TfT_02
976c3b8494
Fix bug which prevented Hoppers from inserting new bottles
...
Fixes #1801
2014-01-19 15:35:27 +01:00
TfT_02
2159aa91ff
Add missing alchemy ingredient tiers to ingredient check
2014-01-18 20:28:28 +01:00
TfT_02
748dba41dc
Randomize the treasure drop amounts instead of always dropping everything
...
For example, the guaranteed 5 diamonds will now be a 1-5 diamond drop.
2014-01-18 19:15:38 +01:00
TfT_02
4e86f60fd2
Replace ingredient strings correctly
...
Fixes #1789
2014-01-17 14:00:22 +01:00
TfT_02
7c891e9ba8
Optimize imports
2014-01-16 22:32:40 +01:00
TfT_02
6143003516
Update PR to changes in master
...
- Special thanks, instead of in dev team
- Fix formatting issues
* Remove trailing whitespaces
* Rename method names of event listeners
* Check for negative instead of positive
- Added Alchemy skill guide
2014-01-16 22:32:40 +01:00
Eric Hildebrand
8f83e328b0
Introduction of new Alchemy skill!
2014-01-16 22:32:40 +01:00
TfT_02
393d9ca74e
Fixed bug where Hylian Luck was broken
...
Fixes #1771
2014-01-13 14:18:16 +01:00
GJ
26174d88f4
Remove unused import
2014-01-03 08:30:59 -05:00
TfT_02
cdcda03e92
Moved repair config classes to the config package
2013-12-12 19:53:27 +01:00
Glitchfinder
06c9ea7068
Minecraft handles block drop chances internally.
...
Fixes #1678
2013-12-08 12:49:43 -08:00
riking
3b1bb3e08a
Minor changes to Tree Feller - use a HashSet, move comment
...
LinkedHashSet doesn't actually do anything for us - we were never using the consistent ordering it promises, and openjdk-7 doesn't even provide that consistent ordering. Better to just not use it.
2013-12-06 23:55:26 -08:00
t00thpick1
2d577e92f1
AntiTheft option for Disarm Ability
2013-12-01 19:08:22 -05:00
GJ
24c1dec046
Fix missing import & broken build.
...
That's what I get for editing through Github's web UI...
2013-11-25 09:32:16 -05:00
GJ
6c478a26c4
Fix issue with custom axes not working with Tree Feller.
...
Most custom materials don't properly report their max durability, so we need to use our repairable manager to handle them instead.
2013-11-25 09:29:41 -05:00
t00thpick1
de3b2b8024
Damage should probably actually be fatal I would think.
2013-11-23 12:34:14 -05:00
t00thpick1
c0dee19cb0
Missed a refactor :P Also, javadoc event
2013-11-22 12:48:53 -05:00
t00thpick1
870987bba7
SecondaryAbility's API additions
2013-11-22 12:32:23 -05:00
TfT_02
445f805bb8
Set the treasure drop after using .clone()
...
Fixes #1603
2013-11-12 12:49:16 +01:00
t00thpick1
df77b9d0ed
Parenthesis
2013-11-10 13:56:15 -05:00
t00thpick1
29f2525b58
Tend toward the smaller values, and configurable maximum for horse jump strength
2013-11-10 13:54:45 -05:00
GJ
d1d6b80676
Allow repair of items without a recipe.
2013-11-08 10:52:43 -05:00
riking
e5acf6d936
Also clone fishing treasures, use alternate Wool method
...
The alternate wool method is testing, the treasure clone is there to stay ;)
2013-11-06 21:34:16 -08:00
riking
bca0ca6766
Fix Shake poisoning the treasure cache with Wither skeletons
...
The returned ItemStack is modified for both Sheep and Skeletons, so a copy should be returned.
2013-11-06 21:03:13 -08:00
GJ
f20fa571f1
Update changelog.
2013-11-06 11:56:50 -05:00
GJ
cf56ca35eb
Tweaked durability handling slightly.
...
Now routes everything through one function to handle enchants and max
durability. Use max durability from RepairableManager by default to
account for mod tools.
2013-11-06 08:45:20 -05:00
TfT_02
c31f5b5782
Account for Unbreaking enchantment when using abilities
2013-11-05 14:51:54 +01:00
GJ
af98c8eb59
Best way to handle minimum quantities.
...
Check repair function first, assuming the item isn't null, otherwise
check the config. If not found, check config.
2013-11-04 11:01:14 -05:00
TfT_02
3a10b2d83c
Make sure we're not setting a bite chance > 1.0
...
Fixes #1592
2013-11-04 10:32:05 +01:00
Glitchfinder
af578870c7
Defaulted quantities should be defaulted everywhere.
...
Fixes #1581
2013-11-03 09:40:04 -08:00
TfT_02
1fea786669
Added bypass permission for finding Fishing traps
2013-11-02 19:25:02 +01:00
GJ
71141a0f8d
Minimum quantity should default to 2.
...
Fixes #1581
2013-11-01 08:22:14 -04:00
TfT_02
bded936af5
Cleanup our imports
2013-10-31 22:30:05 +01:00
GJ
caaac232d7
Cleanup CombatUtils.
...
Opting to stick with the if-else rather than the switch statement,
because I think it's slightly easier to read.
2013-10-31 15:03:06 -04:00
GJ
a9d51dad34
Clean up Smelting checks.
...
Now uses recipes to check if an item is the result of smelting.
2013-10-31 14:29:06 -04:00
GJ
88296da0af
Removed MCPC+ workaround.
...
This has been fixed by MCPC+ starting with build 112.
Addresses #1549
2013-10-31 13:28:54 -04:00
GJ
de3c4f8fd7
Smelting now works with custom ores.
...
Also fixed exploit where smelting XP could be awarded for some
non-smeltable materials.
2013-10-31 13:25:06 -04:00
GJ
41da32cd1b
Added options to disable various sound effects.
...
Fixes #1577
2013-10-31 09:03:29 -04:00
GJ
4889769522
Workaround MCPC+ shortcomings for now.
...
Fixes #1549
2013-10-30 15:33:37 -04:00
GJ
97b9214d6e
Wrap these inside McMMOPlayer for easier access.
2013-10-29 11:02:57 -04:00
GJ
3be443c63c
Cleanup some XP functions, remove unused scoreboard values, minor refactoring.
2013-10-29 09:49:41 -04:00
GJ
9b3ae5c729
These belong in their managers, not in McMMOPlayer
2013-10-28 16:14:52 -04:00
GJ
c79f8043ad
Use proper functions where they exist, and move functions to better locations.
2013-10-28 15:12:24 -04:00
TfT_02
f55039ac6b
Earn XP when using Shake
...
Adds #1564
2013-10-28 17:38:03 +01:00
TfT_02
be792a1052
Fix exploitPrevention() and add Javadocs
2013-10-28 15:39:47 +01:00
GJ
c612036db3
Don't try to find a treasure if there aren't any.
...
Fixes #1572
2013-10-28 08:52:55 -04:00
GJ
ad4ee6f402
Cleanup exploit prevention method.
2013-10-28 08:17:06 -04:00
TfT_02
49a5bd2ba6
We can move this check to exploitPrevention()
2013-10-26 00:50:31 +02:00
TfT_02
7b3fb46a9a
Improved AFK Acrobatics prevention mechanism
2013-10-25 22:02:39 +02:00
riking
c6ca65f5c9
Create a utility method in SkillUtils to easily check ability cooldowns
2013-10-25 09:49:02 -07:00
TfT_02
89dabaeb43
Hook location cleanup
2013-10-24 23:14:23 +02:00
TfT_02
c2e100b1e3
Use hook location in Master Angler
2013-10-24 21:19:24 +02:00
GJ
9f33c6cef1
Use addUnsafeEnchantment instead of addEnchantment
...
Since the enchantment was already present on the item, there's no need to check if it's valid. This also avoids any errors that may occur when trying to repair an item with non-standard enchants.
Fixes #1561
2013-10-22 09:57:13 -04:00
TfT_02
d410251595
Changed kraken default behavior
...
It will no longer broadcast chat messages globally by default, as well as strike lightning on it's target. Instead it will spawn explosion effects.
2013-10-20 17:04:50 +02:00
GJ
b8c1f868f5
Event updates
2013-10-18 08:54:06 -04:00
riking
b4f4de4628
Get all logs in Tree Feller, and optimize performance
...
Tree Feller has been shown, both anecdotally and with timings, to put a strain on the server, and therefore is worthy of the effort of optimization.
Prior to this change, on jungle trees, Tree Feller would take around 20-40 milliseconds to process a Jungle Tree after the JIT kicked in, and around 15-25 milliseconds for a normal tree.
Additionally, logs would be left up in the air for jungle trees.
After this change, Tree Feller takes 2-5 milliseconds on normal trees, and 10-15 milliseconds on jungle trees, and no logs are left up in the air.
2013-10-16 00:59:11 +02:00
GJ
468fbdab56
SkillUtils cleanup, EventUtils creation
...
Move some functions in SkillUtils to more relevant locations.
Begin work on utility class to handle all event calls.
2013-10-15 13:03:33 -04:00
riking
476f426590
Remove RepairableManagerFactory until we actually need it
...
Let's hold off on the factory pattern until we actually offer choices.
2013-10-14 20:48:35 +02:00
TfT_02
67e9d9c535
Fishing TNT traps should not destroy blocks
2013-10-12 03:30:10 +02:00
TfT_02
ed8197bd50
Remove level based bonus from Master Angler
...
Let's try this another way, instead of removing this passive ability all togheter I think it would be nice to keep the boat/biome catch rate boost. The level based boost was out of hand and counter-intuitive as it made leveling easier on high skill levels.
2013-10-12 02:41:13 +02:00
TfT_02
82f8c4ce36
Fishing Treasure Hunter overhaul
2013-10-12 02:41:13 +02:00
TfT_02
b1cf7d0348
Fire FakeBlockBreakEvent when using Hylian Luck
...
Fixes #1528
2013-10-11 23:47:42 +02:00
TfT_02
1d96ed72dc
Move Acrobatics XP settings to experience.yml
2013-10-11 15:18:57 +02:00
TfT_02
ec378d046f
Reformat advanced.yml making the keys consistent
2013-10-11 15:18:56 +02:00
GJ
a25dc24c6c
No reason to have this many functions...
2013-10-11 15:18:56 +02:00
TfT_02
68eb51a3d0
Removed Shake_UnlockLevel config option
...
because it is no longer needed.
2013-10-11 15:18:56 +02:00
TfT_02
2eda3a9c83
Add extra tiers! Every ability now has 8 tiers
2013-10-11 15:18:55 +02:00
GJ
0c83bf2a80
Improve our drop handling.
2013-10-09 11:44:45 -04:00
GJ
6eaec5ffab
We don't need this anymore.
2013-10-09 10:27:06 -04:00
GJ
8a2c5fb051
Check 0 first.
2013-10-09 10:26:51 -04:00
GJ
81140824e4
Backup and replace updated treasures.yml file.
2013-10-07 13:09:46 -04:00
GJ
d5545de81f
Backup & replace the repair config files that have been updated.
2013-10-07 13:04:36 -04:00
GJ
3927427b5b
Refactor all our repairable stuff into a special package.
2013-10-07 10:23:04 -04:00
GJ
fb4777e7f0
Added XP boost to Acrobatics when wearing Boots of Feather Falling.
...
Adds #1098
2013-10-07 09:53:32 -04:00
t00thpick1
ce3bc07aa8
Reasonably sure this needs to be this way
2013-10-06 17:46:45 -04:00
TfT_02
e8b886fcc6
This check somehow got removed
2013-10-05 01:18:51 +02:00
GJ
3365da7f8d
MCPC+ checks, notify server owners that they're missing out.
2013-10-04 09:50:49 -04:00
GJ
5541c15753
Try/catch was stupid.
2013-10-02 09:07:30 -04:00
GJ
f87110749e
ACTUALLY fix the NPE here.
2013-10-02 09:03:09 -04:00
GJ
a0ef0d5708
Check vanilla's maxDurability here as well, just to be safe.
...
Fixes #1504
2013-10-02 08:56:48 -04:00
TfT_02
763cff6898
Fixed a bug where Repair wasn't asking for confirmation
2013-09-28 19:46:47 +02:00
riking
fa34d06341
Clear child skill FamilyTree on reload
2013-09-27 15:46:19 -07:00
TfT_02
1ca53da0e2
Also try to count recipe ingredients regardless of repairMaterial
...
when the normal counting and the config value result in 0
Fixes #1484
2013-09-27 13:42:50 +02:00
TfT_02
57dfa00541
Fixed a NPE when an invalid repair material was entered
...
#1484
2013-09-27 10:46:54 +02:00
GJ
7f290504ad
Set random jump strength for horses as well.
2013-09-26 10:43:45 -04:00
GJ
a63f745c73
Add custom mobs automatically as they're killed.
2013-09-26 15:06:36 +02:00
GJ
792ecd6aad
Rework armor.yml to take item names instead of IDs in advance of 1.7 changes.
...
** YOU WILL NEED TO REDO YOUR armor.yml FILE **
2013-09-26 14:58:30 +02:00
dddeeefff
1254ab232a
Add randomized Horse appearance to Call Of The Wild
2013-09-23 22:29:02 +02:00
dddeeefff
b49e56c857
Added missing COTW message when there are too many Horses nearby
2013-09-23 22:29:01 +02:00
TfT_02
6a3a564bd4
Use cooldownExpired here as well.
2013-09-22 23:28:09 +02:00
TfT_02
3828f78480
Fixed respawn cooldown checks
...
Thanks @Riking for pointing this out!
2013-09-22 23:28:08 +02:00
TfT_02
ce7a7a31a7
A bit of cleaning up
2013-09-20 00:15:22 +02:00
TfT_02
834e26b44e
Minor improvements
2013-09-19 21:47:12 +02:00
GJ
566a381e95
Remove debug message, use recipe method for salvage.
2013-09-19 15:17:19 -04:00
GJ
5d7d779a49
Changed format of repair.vanilla.yml. **YOU WILL NEED TO UPDATE YOUR FILE TO THE NEW FORMAT**
2013-09-19 11:02:47 -04:00
GJ
59a35b170c
Oh yeah, that's why.
2013-09-18 15:42:54 -04:00
GJ
14eb473355
Why we were making this so complicated, I'll never know.
2013-09-18 14:55:17 -04:00
GJ
9be9908a22
Remove unused imports.
2013-09-18 09:39:54 -04:00
GJ
1ec55c2d7e
Remove the last bits of Spout from our code.
2013-09-16 12:05:39 -04:00
TfT_02
7bac0e2ca5
Dropped SpoutPlugin support
...
Because SpoutPlugin is not being updated to 1.6.x and mcMMO 1.4.07 does
not support any CB version below 1.6.x SpoutPlugin support is no longer
needed.
https://blog.spout.org/minecraft-1-6-and-the-legacy-finale/
2013-09-16 16:48:42 +02:00
GJ
f6e60bebcc
Fix dropping sideways logs and leaf blocks.
...
Fixes #1460
2013-09-15 15:09:48 -04:00
GJ
4eba33a1c6
Use doubles in config.yml where appropriate. Change item IDs to item names
...
in light of upcoming Minecraft changes that will remove access to item
IDs.
2013-09-13 09:52:52 -04:00
GJ
800a452d62
Remove use of deprecated function.
2013-09-13 09:11:34 -04:00
GJ
de42063171
Fixed a bug where Kraken messages couldn't be disabled.
...
Fixes #1174
2013-09-12 15:53:43 -04:00
GJ
25e4700ef9
Changed various values to double in advanced.yml for the sake of consistency.
2013-09-12 14:18:13 -04:00
GJ
58c7dcb705
Fix issues with double damage, double death messages, and other damage oddities.
...
Fixes #1450
2013-09-12 11:52:34 -04:00
GJ
44626c36a9
Nerfed Archery damage to eliminate constant one-hit kills
2013-09-11 11:43:06 -04:00
TfT_02
cfd5bfe2c4
Deal skillShot bonus damage properly
2013-09-11 17:08:59 +02:00
TfT_02
93fe2ff504
Cleanup our imports
2013-09-10 15:28:11 +02:00
GJ
71ab678945
Fix bug where mcMMO damage wasn't awarding XP.
...
Fixes #1400
2013-09-09 12:00:37 -04:00
GJ
d2bbbb0fe7
More deprecation fixes.
2013-09-05 16:36:02 -04:00
GJ
fd8d9b02a9
Begin trying to remove newly-deprecated "magic numbers"
2013-09-05 14:55:08 -04:00
GJ
7eec53d621
Added Horses to Taming.
2013-08-30 14:25:46 -04:00
GJ
7523afffb5
Updated permissions for more control over Call of the Wild.
2013-08-30 13:50:34 -04:00
TfT_02
9c54f8fd11
Fix Javadocs issues
2013-08-23 20:14:13 +02:00
GJ
6bfc1b84de
Let's do this the right way.
2013-08-23 20:14:13 +02:00
TfT_02
59f545d5ce
Fixed FakeEntityDamageByEntityEvent not getting fired
2013-08-23 20:14:13 +02:00
TfT_02
964b2636fb
Move experience related settings from config.yml to experience.yml
2013-08-23 19:37:44 +02:00
GJ
c31ffa5ab4
Remove unused import.
2013-08-22 13:51:01 -04:00
TfT_02
51bf989418
Counter Attack now only activates when the player is blocking
...
Closes #1018
2013-08-20 23:23:49 +02:00
GJ
07dd460d78
Validate in a seperate function.
2013-08-20 15:51:12 -04:00
GJ
62146480db
Hardcoding this is a bad idea.
2013-08-19 15:12:08 -04:00
T00thpick1
ce80636141
Min value for IronArm configurable
2013-08-18 02:38:57 -04:00
TfT_02
560c3860b4
Fixed bug which allowed players to bypass fishing's exploit prevention
...
Fixes #1319
2013-08-17 10:11:46 +02:00
TfT_02
36f1a2d78a
Changed the way Repair hands out XP
...
Closes #373
2013-08-15 20:50:19 +02:00
TfT_02
90fcf35c34
Javadocs cleanup
2013-08-10 20:10:45 +02:00
TfT_02
ead1398132
Super Breaker & Giga Driller now use more durability
...
A configurable amount is added to the vanilla durability loss.
Use `Abilities.Tools.Durability_Loss` to disable (set to 0) or set it
to -1 for no durability loss while using abilities. Closes #1363
2013-08-09 22:21:45 +02:00
TfT_02
7683dfc436
Move validation to proper location
2013-08-06 21:27:16 +02:00
T00thpick1
c85bd8ab70
One more last try
2013-08-04 11:56:37 -04:00
T00thpick1
3f6bce0fc6
One last try
2013-08-04 11:51:34 -04:00
T00thpick1
e566b20e2b
This might be important
2013-08-04 11:38:52 -04:00
T00thpick1
f37a7d759a
Hack around nms bug
2013-08-04 11:34:04 -04:00
T00thpick1
d1341b0be0
Would help if I actualized the value... Fix dupe bug for realz
2013-08-04 11:05:53 -04:00
T00thpick1
4ea3d690db
Fix Dupe bug...... why was this overlooked?
2013-08-03 11:37:29 -04:00
GJ
15e0570a8c
Else if > if
2013-07-29 08:45:30 -04:00
GJ
09e77c8c94
Move break event to the initial check.
2013-07-29 08:29:10 -04:00
GJ
78f2e0a064
Check the range in a seperate function
2013-07-24 14:13:58 -04:00
TfT_02
df2defe969
Added extra settings for Call of the Wild
...
* Requested in issue #910
* Adds a setting to configure the range check
* Adds a setting to summon multiple pets with one summon
2013-07-24 20:01:26 +02:00
TfT_02
bf2e527e72
Fixed NPE with Beast Lore
...
Fixes #1289
2013-07-22 11:35:48 +02:00
GJ
d07b67b5bf
Health and damage are now doubles, not ints.
2013-07-11 12:43:36 -04:00
TfT_02
de46277bea
Realized that it wasn't only happening in the Nether
2013-06-24 17:10:39 +02:00
TfT_02
6d7d811814
Fixed bug with Ice Fishing in the Nether
...
Fixes #1218
2013-06-24 16:25:49 +02:00
GJ
050be563bf
Less magic numbers.
2013-06-12 19:26:09 -04:00
GJ
965dbda101
Clean up some stuff with our DATS.
2013-06-12 19:20:05 -04:00
GJ
3a78e1b487
More code duplication removal.
2013-06-12 15:56:42 -04:00
TfT_02
da25b02e0a
Only set the item in hand null if it's actually a fishing rod
2013-06-07 15:46:53 -04:00
GJ
b0eb4b93a8
Cleaner way to avoid salvaging chainmail.
2013-05-28 12:59:10 -04:00
GJ
54f135aebd
We're checking this twice and shouldn't be.
2013-05-28 12:53:12 -04:00
GJ
10e369f9c5
Increased auto-fishing detection.
2013-05-28 12:42:39 -04:00
TfT_02
2414ddf485
Fix broken Tree Feller
...
Fixes #1139
2013-05-25 14:45:24 +02:00
GJ
5e00636761
And a little more...
2013-05-22 22:30:09 -04:00
GJ
0b6372a6ea
Don't run these calculations twice. Also, pretty sure one of these was
...
bugged.
2013-05-21 11:41:39 -04:00
GJ
0c52b3016c
We've got these functions, might as well use them.
2013-05-21 10:02:09 -04:00
GJ
87df536a1f
Only check for kraken if you're actually fishing.
2013-05-21 09:14:54 -04:00
T00thpick1
6dbf2e0d95
FishingTreasureEvent, FishingShakeEvent and MagicHunterEvent
2013-05-20 17:27:59 -04:00
TfT_02
2d66b8ed12
Cleanup - fixing various formatting issues
2013-05-18 22:41:42 +02:00
TfT_02
483f348403
Fixed bug with Blast Mining where the Ability refreshed message was being send too early
2013-05-18 22:27:17 +02:00
TfT_02
7f1ef61657
Get rid of the SuccessModifier
...
There's no need for this modifier, because the user can define the
exact chance for Rolls and Gracefull Rolls in the config file. This
means that the ratio between the two is already configurable.
2013-05-18 14:12:07 +02:00
GJ
a7861fc54b
Move all miscellaneous Spout code to a single location.
2013-05-16 10:51:18 -04:00
T00thpick1
48aafa9834
Unused import
2013-05-15 14:27:31 -04:00
T00thpick1
78f53f294a
Debris should drop normal drops
2013-05-15 13:02:21 -04:00
GJ
d8ddd27d71
Calculate bonus XP based on initial arrow location, rather than final
...
shooter location.
2013-05-15 08:35:12 -04:00
GJ
2e79c8d770
Properly track infinite arrows.
2013-05-14 22:45:09 -04:00
GJ
f910c76248
Conventions.
2013-05-14 12:46:45 -04:00
GJ
975cbf0bf8
The cache should be here, not in the manager.
2013-05-14 12:46:04 -04:00
GJ
501f5de55a
Fixing everything you guys broke while I was gone...
2013-05-14 11:28:50 -04:00
Paul J Thordarson
c5e6704530
Magic Hunter fix and optimization
...
There was a small bug in magic hunter, where it tried to apply an
enchantment level between 1 and the Enchantment.getMaxLevel(), however
it didn't take into account Enchantment.getStartLevel(), so when it
tried to apply an enchantment level below the start level, an
IllegalArgumentException was being thrown and the magic hunter event
wasn't happening.
Also, it's potentially inefficient to recalculate which enchantments
are possible for each ItemStack every time, so I added a HashMap to
cache the possibleEnchantments for each material type, then check this
cache instead of just looping to regenerate the list each time.
2013-05-13 20:22:08 -04:00
NuclearW
2b414526e5
Unleash the Quacken!
2013-05-09 11:04:34 -04:00
NuclearW
c0b7eb526a
Change Squid variables to Creature.
2013-05-09 11:00:28 -04:00
GJ
33610c8997
Whoops.
2013-05-03 16:15:34 -04:00
GJ
8e0a1f4f70
Summon the kraken at will!
2013-05-03 16:14:03 -04:00
GJ
b07cf6bdde
It's now possible to run away from the Kraken.
2013-05-03 15:49:29 -04:00
GJ
4f9b7b2609
Because you might be legitimately fishing at 5 seconds.
2013-05-03 07:51:59 -04:00
GJ
09abab1b5d
Kraken sounds can now be set to either player-only or global (default).
2013-05-03 07:51:58 -04:00
GJ
499713c8e7
Because autoclicking to shake is OK.
2013-05-03 07:51:57 -04:00
GJ
cb953a1619
Disable global chat spam from the kraken by setting the server message
...
to an empty string in the config.
2013-05-03 07:51:56 -04:00
TfT_02
3ab4938f3d
Also need to locale these two strings
...
Closes #1019
2013-05-02 21:08:20 +02:00
TfT_02
f6e9fd9f3a
Add more localisation
2013-05-02 21:02:12 +02:00
GJ
8dab75f3cb
Can't use brackets in YAML.
2013-05-02 08:48:17 -04:00
GJ
0574de4a29
Configure the Kraken!
2013-05-02 07:56:29 -04:00
GJ
5c4c3cf59c
The Kraken hates boats.
2013-05-01 22:50:12 -04:00
GJ
e7c749ee3a
Added boosts to Fishing chance depending on conditions. Also, the
...
kraken, now with 100% more sound!
2013-05-01 21:57:42 -04:00
GJ
5c026be0cd
Don't need those.
2013-05-01 21:19:29 -04:00
GJ
c465546871
Unleash the Kraken!
2013-05-01 21:17:59 -04:00
GJ
3322677d32
Added "Ice Fishing" ability to Fishing
2013-05-01 10:18:19 -04:00
GJ
b55ce30b2d
Clean up our main class a bit more. Still not perfect, but it's getting
...
there.
2013-04-30 15:07:29 -04:00
GJ
339a54b0ac
Replace SkillMonitorTask with 3 unique timers instead. This should greatly
...
optimize our tool and ability cooldown tracking and hopefully reduce
server load.
2013-04-29 15:33:55 -04:00
TfT_02
68a7b540c5
Ask a confirmation when a player tries to repair an enchanted item
2013-04-25 23:29:49 +02:00
GJ
98dc7b853a
Protect our managers.
2013-04-25 09:16:42 -04:00
TfT_02
17a0382283
Changed experience storage from integers to floats
...
This will make sure no experience is lost when the server has high
skill modifiers configured, or when low amounts of experience are being
shared.
2013-04-25 07:42:38 -04:00
GJ
e99599c377
Fixed Smelting returning ink sacs instead of Lapis when double-dropping.
...
Fixes #986
2013-04-24 07:08:24 -04:00
TfT_02
e831f0561a
Changed Call of the Wild, newly summoned pet's will have a custom name
...
Closes #972
2013-04-18 23:04:27 +02:00
GJ
42a30b4521
Fixed Fishing treasures always having the same enchants.
2013-04-17 07:47:43 -04:00
GJ
07ba7a8d9e
Nerf fishing again... AGAIN
2013-04-16 23:48:36 -04:00
GJ
5dc40f3c03
Nerf fishing... again.
2013-04-12 17:48:04 -04:00
GJ
875091a1ce
Added ability to configure drops from Shake in treasures.yml
2013-04-11 21:40:09 -04:00
GJ
fbee4f1b37
Remove debug messages.
2013-04-10 19:41:55 -04:00
GJ
26542f3d6e
Because otherwise you can't fish at low levels.
2013-04-10 19:32:26 -04:00
GJ
14630fe956
Nerfin' it.
2013-04-10 18:44:11 -04:00
GJ
365abaaa8f
Reverse the order to avoid NPE
2013-04-10 14:04:46 -04:00
GJ
f4681a282c
Better handling of picking up items with unarmed.
2013-04-10 13:20:44 -04:00
GJ
4f87cb6446
Added "Master Angler" ability to Fishing.
...
This ability increases the chance that a fish will bite the line while
fishing.
2013-04-09 20:53:54 -04:00
GJ
158b3c43f8
Fixed wolves from Call of the Wild only having 8 health.
2013-04-05 16:17:59 -04:00
GJ
d4c8cc28a1
Use new hasConflictingEnchant method.
2013-04-04 22:26:48 -04:00
GJ
ce08405c00
Use new NetherWartState values.
2013-04-04 22:24:02 -04:00
GJ
0f023f627c
Metadata > Hashmap
2013-04-02 08:41:51 -04:00
GJ
24153c2fb1
Dumb ternary statement was dumb.
2013-03-28 07:45:35 -04:00
TfT_02
94b560ba01
Don't activate abilities when a player is in creative mode.
2013-03-25 23:15:09 +01:00
Glitchfinder
9f55c25775
Actually adding Nether Quartz to Mining for double drops.
2013-03-21 16:05:34 -07:00
TfT_02
9730cdb880
Normalize line endings
2013-03-21 20:46:23 +01:00
GJ
399bf8e3b9
Use BukkitRunnable.
2013-03-20 03:11:16 -04:00
GJ
c3a69c8c55
Change to the newer, shorter scheduler methods.
2013-03-20 02:15:15 -04:00
GJ
255dece550
Move Arcane Forging to it's own class to match the structure we used
...
with Blast Mining.
2013-03-18 14:02:53 -04:00
GJ
ed09d1b390
Fixed bug where Shake wouldn't damage mobs whose max health was less
...
than 4.
Fixes #845
2013-03-17 08:11:20 -04:00
GJ
171026ba23
Fixed bug where Mining wasn't awarding double drops
2013-03-17 00:36:40 -04:00
bm01
3f56c8e690
Fixed Treefeller trying to cut too many leaves
2013-03-16 16:49:32 +01:00
TfT_02
b2f400f61a
"Splinter the axe into dozens of pieces"
2013-03-12 23:31:44 +01:00
GJ
3a7d88db4f
Fixed bug with Blast Mining increasing TNT damage.
2013-03-10 21:30:35 -04:00
GJ
9eba2c683b
Use equalsIgnoreCase() instead of equals(), and use == for compaing
...
worlds.
Fixes #815
2013-03-10 18:06:10 -04:00
GJ
d78a1efbf6
Fixed bug with Repair not decreasing enchanting levels properly.
...
Fixes #817
2013-03-10 15:48:16 -04:00
t00thpick1
df67bd6720
Message player only when enchants actually exist
2013-03-09 20:05:15 -05:00
bm01
0e2746622d
Fixed the Cacti & Sugar Cane fix!
2013-03-08 19:33:03 +01:00
GJ
e31b7d5c48
Cacti & Sugar Cane are an exception, because the bottom block is
...
normally player-placed but the top two are grown naturally.
2013-03-08 08:53:54 -05:00
GJ
4bddbbf56e
This must be handled first, else no XP is awarded if double-drops are
...
disabled.
2013-03-08 08:49:07 -05:00
GJ
0654f27599
Fixed bug where Blast Mining was awarding too much XP
2013-03-08 08:45:16 -05:00
GJ
bd45fff1b4
Fixed bug relating to "empty" ItemStacks. Fixes #807
2013-03-08 07:40:25 -05:00
GJ
9618e45a11
That was bothering me.
2013-03-08 07:26:43 -05:00
bm01
3839373f5a
Forgot this one
2013-03-08 10:35:52 +01:00
bm01
1633617006
Minor cleanup
2013-03-08 10:33:20 +01:00
bm01
57e33bbf39
Fixed triple drop awarding experience twice in mining
...
The previous commit also fixed this for Herbalism
2013-03-08 10:31:32 +01:00
bm01
cddcf36016
Reworked some methods related to Herbalism
...
Fixes double seed consumption for Green Terra when used on crops
Fixes wheat consumption instead of seed for Green Thumb
Fixes XP and double drop exploit with some blocks (flowers...)
2013-03-08 10:11:33 +01:00
NuclearW
03d0ecd450
text=auto
2013-03-07 14:43:03 -05:00
GJ
3a809dab32
Fix downgrade chances all being calculated from Rank4.
2013-03-07 12:52:43 -05:00
GJ
9377de930f
Fixed bug with using Salvage on stacked items. Stacked items will now
...
return the appropriate amount of materials. Fixes #802
2013-03-07 08:03:18 -05:00
GJ
a9438ed52b
Move BlockCracker into the UnarmedManager
2013-03-06 19:19:26 -05:00
GJ
09169bd019
Fixed bug where Fishing was becoming less successful at higher levels
2013-03-06 18:17:54 -05:00
GJ
44ede5c3f8
Create a WoodcuttingManager
2013-03-06 16:23:41 -05:00
GJ
f6a18ef777
Move Salvage functions into Repair
2013-03-06 11:31:51 -05:00
GJ
3e084b3b5d
Unlock levels go in advanced.yml, not config.yml
2013-03-06 11:13:25 -05:00
GJ
2c7f931c4d
Removed option to disable Salvage via the config file. This should be
...
handled via permissions instead.
2013-03-06 10:50:59 -05:00
GJ
6b18cec7fb
Combine our placedAnvil checks into one function.
2013-03-06 10:47:56 -05:00
GJ
08960a2dbc
Move Salvage checks into our RepairManager
2013-03-06 10:02:34 -05:00
GJ
5f4e269efa
Fixed bug with repairing using materials with byte metadata
2013-03-06 09:43:09 -05:00
GJ
e5f6da01ec
Create a proper RepairManager to match the others, rename our old
...
RepairManager to RepairableManager.
2013-03-06 09:37:09 -05:00