f704bfb63a
Use BedrockData 2.0.0
2023-02-23 21:52:17 +00:00
9acb4d64db
Added generated constants for available BedrockData files
...
this makes it easier to detect unused files, detect removed files, and also avoid typos in usages.
2023-02-23 21:45:12 +00:00
41ab698f93
wrong filename
2023-02-06 12:29:54 +00:00
3c46bf01c6
Begin removing dependence on obsolete files from BedrockData
...
these files were only kept for backwards compatibility, and aren't actively maintained. They are only needed for legacy conversions in the modern day era.
2023-02-02 14:47:38 +00:00
0d169b4e80
Filesystem: added fileGetContents to reduce ErrorToExceptionHandler boilerplate code
2022-12-25 17:13:51 +00:00
99faeb8d05
Merge remote-tracking branch 'origin/stable' into next-minor
2022-12-19 15:55:59 +00:00
529700bb8b
PotionTypeIdMap: fixed uninitialized fields
...
I have no idea why this didn't ever cause a problem before... probably an edge-case in the typed properties implementation
2022-12-19 15:33:15 +00:00
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
d03bbb0426
Implemented darkness effect ( #5402 )
2022-11-10 12:57:14 +00:00
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
08b9495bce
DyeColorIdMap: fixed uninitialized offset error on invalid dye colours
2022-08-26 18:58:00 +01:00
38d6284671
Use PHP-CS-Fixer to enforce file header presence
2022-06-04 17:34:49 +01:00
343a12626e
Modernize private property declarations in src/data
2022-05-17 20:35:59 +01:00
f25beab6cb
Use constants for compound meta values
2022-03-23 15:58:27 +00:00
4e956d5d1d
Replace remaining disallowed operators
2022-01-20 19:23:19 +00:00
75fc7a2d1f
Merge branch 'stable' into next-minor
2022-01-07 20:16:35 +00:00
6d249026cc
Merge branch 'legacy/pm3' into stable
2022-01-07 20:15:15 +00:00
889d048ca3
Make use of Utils::assumeNotFalse() in a bunch of places
...
I've stuck to only doing this in the places where I'm sure we should never get false back. Other places I'm less sure of (and I found more bugs along the way).
2021-12-08 19:39:04 +00:00
aea124af74
Fix inconsistent class name
2021-11-30 19:17:26 +00:00
8620e67d88
Protocol changes for 1.18.0
2021-11-30 19:16:38 +00:00
5c7125f190
Improved error handling for loading broken entity / tile data
2021-11-23 17:41:26 +00:00
275f145418
BedrockData is now a Composer dependency
...
this should put a stop to people nagging me about incorrect blocks (we have a check to make sure composer dependencies are up to date).
2021-11-02 16:45:45 +00:00
0404298c74
Effect: get rid of runtimeIDs
2021-09-03 21:25:06 +01:00
c062282954
Drop enchantment runtime IDs
2021-09-03 21:20:43 +01:00
772935cd7e
Updated biome ID constants
2021-07-23 22:39:54 +01:00
83016a97bd
Added getMushroomBlockType() / setMushroomBlockType() APIs to Red/BrownMushroomBlock
2021-07-22 19:13:26 +01:00
32d7b1e6af
Start using webmozart/pathutil for joining paths ( #4287 )
2021-06-29 19:40:43 +01:00
902ea515f7
Separate ID handling from GameMode
...
the aliases of 0,1,2,3 remain for user-interface level compatibility.
2021-06-27 20:32:35 +01:00
5d6146a01f
Register missing potion types
2021-06-19 21:53:08 +01:00
5387456e44
Move potion types to enum
2021-06-19 21:39:23 +01:00
b33bf1f433
Unfuck banners ...
2021-04-28 18:44:21 +01:00
d5e5a81cff
Don't explode when data contains invalid dye colour IDs
2021-04-28 13:39:03 +01:00
1eee24f1fa
Implemented coral blocks
...
there are some complications with coral plants due to the fact we're stuck with R12 worlds right now - and also coral fans are a major pain to implement due to how messed up the metadata is.
2020-11-16 18:05:39 +00:00
12e185e3f6
Relocate EntityLegacyIds to pocketmine\data\bedrock package
2020-11-01 17:07:34 +00:00
1f2bc8cb69
World: remove rogue import
2020-11-01 17:05:57 +00:00
4231bfdc7e
Relocate biome ID constants to pocketmine\data\bedrock package
2020-11-01 16:53:06 +00:00
3f254bd49c
Separated effects' MCPE ID registration from VanillaEffects
2020-10-24 18:52:20 +01:00
c5b925a213
Moved EnchantmentIds to pocketmine/data/bedrock package
2020-10-24 18:24:39 +01:00
47976bac34
Moved enchantment ID handling to pocketmine/data/bedrock package
...
this permits plugins to register their own enchantments mapped to MCPE IDs again.
2020-10-24 17:59:46 +01:00
68c408268c
Separate dye colour ID management from DyeColor enum
2020-07-05 19:04:22 +01:00
144a66c110
cumulative imports cleanup (again)
2020-05-12 22:38:59 +01:00
b4606a4cd0
remove PM resource interaction from StartGamePacket
...
also lose the cache, because it's not very useful ...
2020-05-06 13:17:16 +01:00
218f32f5b8
De-duplicate code used by legacy <-> string ID mapping classes
2020-05-06 13:15:54 +01:00
c2b438ccb6
git you need to stop doing this to me REEEEEEEEEEEEEEEEEEEEEEE
2020-05-04 14:30:01 +01:00
3a42c21cc1
wrap up block_id_map in a class
2020-04-24 21:28:27 +01:00