Dylan K. Taylor
0a3ecfdae9
Clean up terminology around block state IDs and their handling
2023-01-25 19:01:15 +00:00
Dylan K. Taylor
2f469ef4a0
Added mangrove, azalea and flowering azalea leaves
2023-01-25 18:50:14 +00:00
Dylan K. Taylor
ca1f1bf09f
Fixed glowing item frames
...
due to technical limitations, this requires separating them back into two different block types. However, this isn't too egregious since it's just one flag, and actually simplifies some code.
closes #5478
2023-01-12 21:52:52 +00:00
ipad54
85231215e7
Implemented Sculk ( #5489 )
2023-01-04 20:10:46 +00:00
Dylan K. Taylor
c89df7eb1c
Merge remote-tracking branch 'origin/next-minor' into next-major
2022-12-25 18:22:13 +00:00
Dylan K. Taylor
0d169b4e80
Filesystem: added fileGetContents to reduce ErrorToExceptionHandler boilerplate code
2022-12-25 17:13:51 +00:00
zSALLAZAR
b4c7d33388
Implement Medicine (from Education Edition) ( #5450 )
2022-12-24 17:38:12 +00:00
ipad54
b3473960b4
Implemented chain ( #5454 )
2022-12-22 15:22:04 +00:00
Dylan K. Taylor
4f86ea9933
Merge branch 'next-major' of github.com:pmmp/PocketMine-MP into next-major
2022-12-18 22:25:44 +00:00
Dylan K. Taylor
6e2685cbbb
Merge branch 'next-minor' into next-major
2022-12-18 22:25:32 +00:00
Dylan K. Taylor
bf44edd179
Constify a bunch of NBT keys, pass 1
2022-12-18 22:12:15 +00:00
IvanCraft623
44e288554a
Implement new records ( #5433 )
2022-12-18 21:15:27 +00:00
Dylan K. Taylor
ffa88aff67
Merge branch 'next-minor' into next-major
2022-12-18 21:05:26 +00:00
Javier León
c5d716dc9d
Added keep on death methods for items ( #5395 )
2022-12-15 20:10:20 +00:00
Dylan K. Taylor
4d79aced07
Merge branch 'next-minor' into next-major
2022-12-15 19:50:27 +00:00
Dylan K. Taylor
95d0a3bf41
Merge branch 'stable' into next-minor
2022-12-15 19:38:22 +00:00
Dylan K. Taylor
cf707e15c2
fix
2022-12-15 19:36:16 +00:00
! Bryan
1308cda5c2
Implemented hook method Item::onInteractEntity() ( #5432 )
...
this is called when the player right-clicks on an entity to do some action, such as shearing, naming etc.
2022-12-15 19:30:52 +00:00
Dylan K. Taylor
99996b62d6
Align PhpDoc @param tags according to PHP-CS-Fixer
2022-12-06 13:21:20 +00:00
Dylan K. Taylor
8e600b4a78
ItemBlock: fixed unnecessary double singleton usage
2022-12-06 12:48:28 +00:00
Dylan K. Taylor
142ccc7e87
Merge branch 'next-minor' into next-major
2022-12-05 14:14:39 +00:00
Javier León
3984d220bb
Implemented the swift sneak enchantment ( #5404 )
...
Co-authored-by: Dylan T <dktapps@pmmp.io>
closes #5301
2022-12-01 20:38:41 +00:00
Dylan K. Taylor
28d8526d8d
Merge branch 'next-minor' into next-major
2022-11-30 20:05:30 +00:00
SlimyBoy2
95263795a8
Durable: fix misbehaviour of isBroken() since fe982c697bec3265c4222b73fe5ed17c9ef3b1ce ( #5436 )
...
this broke tool and armour break sounds.
2022-11-27 00:13:41 +00:00
Dylan K. Taylor
b0c6e8d8e0
StringToItemParser: added lookupAliases() and lookupBlockAliases()
...
this permits reverse-lookuping all registered aliases that map to the given item (including properties).
this may be useful for plugins to use for generating configs, instead of using IDs or some godawful hack using getName().
2022-11-26 19:32:39 +00:00
ipad54
858d3dce8e
Implement Weeping & Twisting vines ( #5396 )
2022-11-15 15:29:42 +00:00
Dylan K. Taylor
d9638cef96
Merge branch 'next-minor' into next-major
2022-11-02 16:04:16 +00:00
Dylan K. Taylor
1671405cd0
Merge branch 'stable' into next-minor
2022-11-02 16:03:30 +00:00
Dylan K. Taylor
fe982c697b
Durable: reset durability when overstacked items are broken
...
this is not really defined behaviour, but it makes more sense than the current behaviour, which makes the tool unbreakable unintentionally.
fixes #5378
2022-11-02 15:42:44 +00:00
Dylan K. Taylor
7bcc663b60
Migrate core code to using symfony/filesystem
...
webmozart/path-util is retained for plugin compatibility, but is dropped in 5.0
2022-10-14 21:51:29 +01:00
Dylan K. Taylor
f88ae93897
BC break: Replaced webmozart/path-util with symfony/filesystem, closes #5332
2022-10-13 16:43:36 +01:00
Dylan K. Taylor
0c7f8470b9
Avoid repeated strtolower usages in a couple of places
2022-09-28 21:30:06 +01:00
IvanCraft623
1366a43c22
Implement Turtle Shell ( #5235 )
2022-09-28 18:19:15 +01:00
Dylan K. Taylor
f80ffd8de0
Merge branch 'next-minor' into next-major
2022-09-15 13:59:21 +01:00
Dylan K. Taylor
441b06f6c7
Merge branch 'stable' into next-minor
2022-09-15 12:44:53 +01:00
Dylan K. Taylor
88eafdd614
Improve type info for RegistryTrait::getAll() and its users
2022-09-02 19:57:22 +01:00
Dylan K. Taylor
d5762d3f44
Item: allow describing type data to a reader as well as a writer
...
we don't currently need this, but it's better to have it in case we need it after PM5 release.
This is also now consistent with blocks.
2022-08-27 19:18:30 +01:00
Dylan K. Taylor
5c5d96d00b
ItemBlock: remember fuel time, fireproof and max stack size
...
this avoids repeatedly creating blocks for no reason when calling these methods.
This does assume that these methods always return the same result for a given block type, but I think that's a fair enough assumption.
2022-08-27 18:04:11 +01:00
Dylan K. Taylor
6799dcff51
StringToItemParser: improve some readability slightly
2022-08-26 15:54:21 +01:00
Dylan K. Taylor
1ecb10acba
Merge branch 'next-minor' into next-major
2022-08-21 19:19:07 +01:00
Dylan K. Taylor
ad2d59923c
Merge branch 'stable' into next-minor
2022-08-18 17:06:15 +01:00
IvanCraft623
b65e0f64f6
Implement Suspicious Stew ( #5224 )
2022-08-16 17:26:32 +01:00
Dylan K. Taylor
dce8bd6d21
CS: Standardize new with braces
2022-08-15 17:16:23 +01:00
IvanCraft623
223de3ad23
Implement Fire Charge ( #5225 )
2022-08-15 17:00:58 +01:00
Dylan K. Taylor
43a3151de3
Merge branch 'next-minor' into next-major
2022-08-14 18:49:19 +01:00
Dylan K. Taylor
f7ab0a3b92
Merge branch 'stable' into next-minor
2022-08-14 18:37:56 +01:00
Dylan K. Taylor
2fc84f6c67
ItemFactory: treat durables with negative meta as unknown items
...
fixes #5117
2022-08-12 17:24:43 +01:00
Dylan K. Taylor
44e4dabf6e
Fixed Turtle Master potions giving no effects
2022-08-12 17:05:08 +01:00
Dylan K. Taylor
79125b8426
Added APIs to get a new unique block/item type ID
...
this centralization is needed to avoid conflicts between different plugins fighting over the same hardcoded IDs.
2022-07-24 22:02:47 +01:00
Dylan K. Taylor
102406ee79
Added froglights
2022-07-23 17:40:38 +01:00