Shane Robertson
63378ae4c1
Updated herbalism (crop replaced by ageable) ( #3523 )
...
* [WIP] Replacing MaterialData with Blockdata
* Fixed most block based experience gain
* Removed debug prints
* Updated configs
* [WIP] Replacing MaterialData with Blockdata
* Fixed most block based experience gain & updated wooden_tools
* ACTAULLY removed debug prints
* [WIP] Replacing bukkit treespecies
This feature has been unofficially deprecated, (not yet fixed/marked in bukkit)
Also updated config.yml to match changes
* Updated configs
* [WIP] Replacing MaterialData with Blockdata
* [WIP] Replacing MaterialData with Blockdata
* Fixed most block based experience gain
* Fixed most block based experience gain & updated wooden_tools
* Removed debug prints
* ACTAULLY removed debug prints
* [WIP] Replacing bukkit treespecies
This feature has been unofficially deprecated, (not yet fixed/marked in bukkit)
Also updated config.yml to match changes
* Fixed greenterra
Replaced deprecated features
2018-07-31 21:35:45 -04:00
t00thpick1
fecf83c79c
Don't break on double drops for woodcutting.
2018-07-30 20:44:10 -04:00
Shane Robertson
4bda175328
Removed misc, print statements ( #3508 )
...
* ACTAULLY removed debug prints
2018-07-26 20:47:45 -04:00
Shane Robertson
ee324c77a9
Fixed errors with block-based skill experience ( #3506 )
...
* Updated configs
* [WIP] Replacing MaterialData with Blockdata
* Fixed most block based experience gain
* Fixed most block based experience gain & updated wooden_tools
* Removed debug prints
2018-07-26 19:53:29 -04:00
Jamie Sinn
210b418e44
Get string before format. ( #3507 )
2018-07-26 19:52:15 -04:00
t00thpick1
b73eced36f
Remove sound adapter
2018-07-25 20:29:40 -04:00
t00thpick1
bff454f397
Wood is not planks.
2018-07-24 20:50:17 -04:00
t00thpick1
fbe26af2d7
Merge remote-tracking branch 'origin/master'
2018-07-23 22:14:44 -04:00
t00thpick1
0a1559511a
Quick and dirty 1.13 update. I.e. it now compiles for 1.13.
2018-07-23 22:13:57 -04:00
Jamie Sinn
aee60f2c09
Mctop Cooldown message correction. Closes https://github.com/mcMMO-Dev/mcMMO/issues/3470 ( #3481 )
2018-07-15 10:08:52 -04:00
FabioZumbi12
9ce850f84f
Re-added handlersList to event. ( #3234 )
2018-06-13 20:50:46 -04:00
t00thpick1
cbff8482ce
Merge pull request #3427 from joblo2213/master
...
Add McMMOPlayerSalvageCheckEvent
2018-06-09 11:50:32 -04:00
joblo.2213
0035762a71
Add McMMOPlayerSalvageCheckEvent
2018-06-09 09:46:06 +02:00
Glitchfinder
e77801f3c1
Ensure all entity types function in experience.yml
...
Fixes #3443
2018-05-16 08:07:07 -07:00
Glitchfinder
c83d011faa
Don't convert raw salmon to raw fish when summoning ocelots.
...
Fixes #3366
2018-05-15 19:40:48 -07:00
Glitchfinder
5aa4949baa
Allow experience on crops grown with bonemeal.
2018-05-15 11:31:52 -07:00
Glitchfinder
c87b410823
Merge branch 'anvil_unbreakables' of github.com:GiovanH/mcMMO
2018-05-11 10:07:53 -07:00
Glitchfinder
e98d241452
Merge branch 'master' of github.com:ProgrammingAtDawn/mcMMO
2018-05-11 10:04:14 -07:00
GiovanH
421455224f
Codebase!
2018-05-10 04:54:35 +01:00
t00thpick1
29c55312a5
Don't allow these commands on child skills.
2018-05-01 23:12:06 -04:00
Gio
2c6543da9e
More descriptive text.
2018-04-30 13:30:41 -05:00
Gio
20bbdfc4ab
Check playerdata for corruption
...
Fixed a null pointer exception that would occur if the offlinePlayer object did not have a defined string for .getName();
2018-04-30 12:54:35 -05:00
Glitchfinder
5b2ebf4aa8
Prevent shulker boxes from activating abilities.
...
Fixes #3438 .
2018-04-29 23:09:52 -07:00
t00thpick1
2b159adefd
Merge pull request #3330 from hoorigan/ench-book-fixes
...
Enchanted book fixes
2018-04-28 20:04:06 -04:00
Glitchfinder
be2de1d487
Fix a duping bug that uses a coordinate error. Fixes #2979 and fixes #3429 .
2018-04-15 10:19:31 -07:00
t00thpick1
6876f192de
Deflag blocks when they grow, Fixes #3311 , #3207
2018-04-07 13:41:20 -04:00
t00thpick1
875db44afd
Don't active skills on shulker blocks Fixes #3423
2018-04-07 13:33:28 -04:00
ezeiger92
feeb17d6f0
Scale fishing drop chance by lure rather than subtracting 1
...
Fixes mcMMO-Dev/mcMMO#3383
Added config option for lure enchantment modifier
Fixes lure enchantment having no effect on drops from offhand
2018-02-15 15:48:21 -08:00
ezeiger92
6d2003d577
Remove offhand fishing rod if not in main hand
...
Fixes mcMMO-Dev/mcMMO#3342
Fixed style error in last commit
2018-02-15 13:59:10 -08:00
ezeiger92
40b609ccd8
Respect unbreakable tag on items when attempting durability changes
...
Fixes mcMMO-Dev/mcMMO#3327
Fixes mcMMO-Dev/mcMMO#3391
2018-02-15 13:38:10 -08:00
ProgrammingAtDawn
d64399df49
Calculate experience gain before processing green thumb.
2018-01-24 20:53:59 +01:00
t00thpick1
d4f2f0e11b
Use new recipe constructor to avoid deprecation errors.
2017-12-17 13:31:30 -05:00
hoorigan
916d9a7c8a
ItemUtils: add ENCHANTED_BOOK to isEnchantable()
...
This will (hopefully) make mcMMO aware that ENCHATED_BOOK can have an enchantment.
2017-10-31 16:47:46 -04:00
hoorigan
6d5ab0edda
FishingManager: force enchant on enchanted book
...
Added a small conditional to ensure that enchanted books get an enchantment.
2017-10-31 16:45:08 -04:00
t00thpick1
307d483323
Dont do diminishing returns on command caused xp gains Fixes #3312
2017-10-27 20:30:56 -04:00
t00thpick1
eb4960f307
Merge pull request #3300 from EasyMFnE/master
...
Add automatic Alchemy potion colorization and custom color config
2017-10-05 19:44:47 -04:00
t00thpick1
9df72e61a2
Mob Health bars global toggle
2017-10-03 23:32:54 -04:00
EasyMFnE
fcb6391ba3
Remove leftover debug code.
2017-09-28 11:44:15 -04:00
EasyMFnE
16a77f281e
Add automatic Alchemy potion colorization and custom color configuration.
2017-09-23 15:35:38 -04:00
t00thpick1
87ebf7023f
Additional changes that are less important but related to the dupe fix.
2017-09-12 20:01:09 -04:00
t00thpick1
028f87653a
Check length of the Y dimension of the array, not the x dimension, which will only be 16
2017-09-08 23:16:41 -04:00
t00thpick1
0e51983819
Y, not Z, very very important.
2017-09-06 00:23:35 -04:00
t00thpick1
f1f02fd005
Don't fail out of saves just because a single player fails.
2017-09-01 00:45:22 -04:00
t00thpick1
f279a979e3
Also handle bottom of world
2017-09-01 00:44:37 -04:00
t00thpick1
e0bbe9cea4
Fix error with pistons retracting near top of world. Fixes #3172
2017-09-01 00:43:11 -04:00
t00thpick1
d3cc23f6a0
Fix smelting vanilla xp boost. Fixes #3270
2017-09-01 00:32:11 -04:00
t00thpick1
4c3f3ee4e2
Dont use named seeds in replanting. Fixes #3273
2017-08-31 23:47:28 -04:00
Erik
60aa32d003
Patches!
...
* Update bukkit version
* Default vanilla exp modifier for fishing is now 1
* Fixed beetroot permission for herbalism
2017-08-15 12:20:09 -07:00
Erik
0e7ee41444
Follow spacing convention
2017-08-05 11:53:38 -07:00
Erik
b5f6b1d97f
Fix for 3250 - HashSet<Byte> to HashSet<Material> for getTargetBlock
2017-08-05 11:50:24 -07:00
t00thpick1
f1ac5739e4
[bugfix] Resolve issues with Herbalism exp.
...
Due to flaws the previous changes to the configuration system combined with some bad lines in the experience.config that I mistakenly recommended, herbalism was not granting experience in most cases, as it was marking newly planted crops and such as player placed no exp granting blocks, rather than ignoring them as it should.
block types now are evaluated in 3 steps:
1: Explicit Name i.e. ("Crops|4", "Crops|0"), Which is the material name then data value
2: "friendly name" i.e. ("Crops_Ripe", "Crops_Ungrown"), Which is a typically data valueless name, some of which I make up in mcMMO, but most of which are just the Material name
3: Wildcard name i.e. ("Crops|*") Which is any block with that block value, regardless of data value
In order to be sure herbalism grants exp for you once again, make sure your configuration for herbalism looks similar to this:
https://github.com/mcMMO-Dev/mcMMO/blob/master/src/main/resources/experience.yml#L151
In terms of which blocks are listed there. Specifically, there should be no blocks marked "ungrown"
2017-08-01 01:33:02 -04:00
t00thpick1
8cbb57df97
Fix herbalism I think
2017-07-23 18:06:45 -04:00
wysohn
f718741044
HandlerList should be present in every Events. (It's static you know)
2017-06-17 20:16:09 -07:00
t00thpick1
c054ff851a
Fix excavation treasures
2017-06-14 21:14:09 -04:00
t00thpick1
755787f9ee
Add sapling types
2017-06-10 14:30:06 -04:00
t00thpick1
24f8b2fbd5
More configuration for hylian luck
2017-06-10 14:16:31 -04:00
t00thpick1
ee02a19e9a
Add more configuration to shake treasures
2017-06-10 13:59:49 -04:00
t00thpick1
cb5d38c11f
Leftover debug
2017-06-10 13:49:19 -04:00
t00thpick1
15436b44da
Update configurations and skill block checks to be more configurable.
2017-06-10 13:47:20 -04:00
t00thpick1
fda625b235
Merge pull request #3185 from nathanprocks/master
...
Add shaking from shulkers
2017-06-07 21:22:30 -04:00
Nathan Piercy
95167f44f1
Add shaking from shulkers
2017-06-04 16:34:48 +10:00
Luck
789b51fd05
Fix for removed methods in Bukkit 1.12
2017-05-14 16:36:31 +01:00
t00thpick1
7d05c9d8e6
Add some more defaults into the config. Remove the parts that delete keys, I don't maintain config files well enough to have them remove unknown keys.
2017-04-15 00:24:39 -04:00
t00thpick1
a43ae4178a
Some cleanups to mob related XP code
2017-04-15 00:04:07 -04:00
t00thpick1
c9c2c483fa
Remove unneccessary code.
2017-04-14 23:34:54 -04:00
TheComputerGeek2
d6a00eaf00
Prevent disarming, bleed, and axe passives when dealing thorns damage
2017-03-06 18:03:15 -08:00
t00thpick1
69151f0855
Forgot to actually add the funfetti
2017-02-22 00:01:39 -05:00
t00thpick1
bb27d753b1
I think this should stop my fireworks from damaging people
2017-02-22 00:00:47 -05:00
t00thpick1
37ce29a5e8
Merge pull request #3094 from SupaHam/fix-chimaera-tp-cancel
...
Set TeleportCommenceLocation to null after Chimaera cancellation.
2017-01-15 22:19:51 -05:00
kanesada2
2e7f56eeb5
fix shake for WITHER-SKELETON. avoid to use getSkeltonType()
2017-01-13 14:10:55 +09:00
Ali Moghnieh
7e46d5ca08
Set TeleportCommenceLocation to null after Chimaera cancellation.
...
This makes the item usable once again, as the prechecks check to make sure the location is null.
2016-12-26 21:26:38 +00:00
t00thpick1
a2bcce9ab1
I believe this resolves berserk allowing you to take drops into your equipment slots.
2016-12-17 17:32:16 -05:00
t00thpick1
789aaec186
I should probably compile before committing in the future.
2016-12-04 21:42:26 -05:00
t00thpick1
6c5fb5f398
Fix entity kill xp
2016-12-04 20:53:51 -05:00
t00thpick1
e238ec8fc6
Merge pull request #3067 from TheBentoBox/master
...
Fix 1.11 brewing, remove health bar from armor stands
2016-12-01 00:54:39 -05:00
t00thpick1
9689f55e5c
Merge pull request #3055 from jjm223/bugfix/fuel
...
Rapid fuel consumption fix
2016-12-01 00:54:32 -05:00
Jake Ben-Tovim
5f9f3e8167
Fix 1.11 brewing, remove health bar from armor stands
...
This fixes brewing on the newest Spigot API builds. The Alchemy skill was completely broken due to a change in the Spigot BrewEvent constructor, which this fixes via the changes to FakeBrewEvent.java and AlchemyPotionBrewer.java. This also adds a check in EntityListener.java for armor stands, so that health bars aren't displayed for them. The health bars never really displayed properly (armor stand health acts differently from most entities), and it allowed players to punch invisible armor stands server admins may have been intentionally hiding to temporarily reveal them via a health bar, which is an issue.
2016-11-28 21:28:05 -05:00
Jacob Martin
6388246418
Fix an issue where brewing stands will consume two fuel units for vanilla ingredients.
2016-11-13 10:26:29 -06:00
RoboMWM
86432eb426
Don't handle item pickups when Items_As_Unarmed is set to true
...
If `unarmed.Items_As_Unarmed` is set to true in config, then there's no
need to be manually handling item pickups.
2016-10-23 22:38:31 -07:00
t00thpick1
01a8a199d2
Fix a dupe bug that resulted from yet another change to piston code a couple mc patches ago. Oh well.
2016-08-20 21:47:29 -04:00
Sid Shakal
b3e1acc563
Correcting conditions related to "ghost block" mitigation.
...
If radius is 1 (as it is when called elsewhere in the class), the loop
conditions fail to refresh some of the neighboring chunks, allowing for
ghost blocks to continue to occur on eastern and southern edges of the
chunk the player is in.
This commit fixes the loop conditions.
= Chunk diagram of old behavior =
-----
-RR--
-RP--
-----
-----
= Chunk diagram of new behavior =
-----
-RRR-
-RPR-
-RRR-
-----
= Legend =
P: the chunk the player is in
R and P: chunks that are refreshed
-: chunks that do not get refreshed
2016-08-07 17:32:34 -05:00
t00thpick1
8901db4e18
Add Beetroot to herbalism skill
...
Merge pull request #2918 from isokissa3/master
His was better.
(cherry picked from commit 3ed0fdf330
)
2016-06-26 17:14:19 -04:00
t00thpick1
e73e628051
Merge pull request #2951 from minoneer/brewing-fuel
...
Fix brewing stands consuming all remaining fuel items
2016-06-25 12:53:20 -04:00
t00thpick1
3bb920f22c
This is completely untested but it probably works. Maybe Fixes #2966
2016-06-23 21:22:40 -04:00
t00thpick1
2bed26f18a
Fix scoreboard numbering being off
2016-06-19 17:47:38 -04:00
t00thpick1
315b713005
These should definently not be hard coded in the future... but allow rabbits and guardians to be shaken down
2016-06-19 17:41:18 -04:00
t00thpick1
70de0ba00b
Enable Beetroot I think
2016-06-19 17:33:43 -04:00
minoneer
25cad3afc6
Fix brewing stands consuming all remaining fuel items when the fuel bar is refilled
2016-06-09 02:10:27 +02:00
isokissa3
d0e8bb3174
Fixed spacing
2016-04-27 13:45:26 +03:00
isokissa3
6b03108052
Fixed formatting
2016-04-26 15:26:50 +03:00
isokissa3
34447ef874
Exploit fix, turning spawned pigs into zombie pigmans using lightning stike allows you gain XP
2016-04-25 18:47:15 +03:00
t00thpick1
dcd79e87e1
This command probably works
2016-04-23 00:32:04 -04:00
t00thpick1
8822b4edae
Fix typo
2016-04-03 00:25:50 -04:00
t00thpick1
a24d6ff018
Missed removals
2016-03-27 11:46:00 -05:00
t00thpick1
707195f237
I honestly forgot this was in here. Fixes #2863
2016-03-27 11:12:16 -05:00
t00thpick1
4c4df60b81
Was in a second location as well.
2016-03-20 17:52:21 -05:00
t00thpick1
d1cf08c6ba
Null check. Fixes #2840 #2842
2016-03-20 12:47:27 -05:00
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