2eb05a2420
Updated block factory consistency check
2021-04-27 21:00:22 +01:00
a32eb4ebc3
Implemented coral and coral fans
...
this implementation is very rough due to having to hack around lots more MCPE bullshit, and currently doesn't allow dynamic coral types; but it's there. We'll clean this up after 1.13 migration is done.
2021-04-17 02:04:10 +01:00
81ced66bd0
BlockIdentifier: variant parameter of constructor is now mandatory
2021-04-16 20:14:29 +01:00
e80c1a0ce9
Split Mushroom Stem away from other mushroom variants
...
mushroom stem (and all-sided stem) are unique blocks, which don't drop anything and which don't stack with other shroom variants when block-picked.
They also get mapped to the same block when placed, and there's no distinction between red mushroom stem and brown mushroom stem.
2021-02-07 22:02:50 +00:00
fd2ebd84b4
Recognize underwater TNT
2021-02-06 23:37:05 +00:00
ae75d73f48
Extract MainLoggerThread unit from MainLogger
...
MainLogger is no longer a Thread, as per the recent changes to pocketmine/log-pthreads.
2021-02-04 16:28:49 +00:00
870d237260
BlockFactory::get() second parameter is now mandatory
2020-11-18 00:50:01 +00: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
b2765f32e9
Implemented Barrels, closes #3672
2020-11-16 17:26:07 +00:00
be1da07ee5
tests: phpdoc cleanup
2020-11-01 14:23:44 +00:00
d6d9dde0b2
imports cleanup
2020-11-01 14:23:21 +00:00
73a8c90bee
Merge remote-tracking branch 'origin/stable'
...
# Conflicts:
# resources/vanilla
# src/world/Explosion.php
# tests/phpunit/item/ItemTest.php
# tests/phpunit/world/format/io/region/RegionLoaderTest.php
# tests/plugins/TesterPlugin/src/pmmp/TesterPlugin/tests/AsyncTaskMainLoggerTest.php
# tests/plugins/TesterPlugin/src/pmmp/TesterPlugin/tests/AsyncTaskMemoryLeakTest.php
2020-11-01 14:21:47 +00:00
500fd2d842
tests: strip useless phpdoc
2020-10-26 15:59:17 +00:00
792f38f474
Carpet and Wool now have dynamic colours
2020-10-15 14:45:28 +01:00
0ef0848c44
Concrete and ConcretePowder colour is now dynamic
2020-10-15 14:30:07 +01:00
309d23acfb
regenerated blockfactory consistency check
2020-10-04 19:12:36 +01:00
d3a3a41d2b
Revert back to separated floor/wall sign
...
the conditionally useless properties are problematic.
2020-10-04 17:52:23 +01:00
388a19ef5d
Persistent block metadata may now have mutable parts
...
Not allowing this makes stuff like anvil damage, colour, wood type, live/dead bit, wet/dry etc all too much hassle to deal with.
Naturally I want to get rid of this shit altogether, but first it's necessary to construct a new system that we can shift into before all this bullshit can be addressed fully, so for now we have to work within the bounds of the old system.
This change will permit dynamic colours for concrete/concrete powder etc, dynamic wood types where the wood type isn't embedded in the legacy ID, and so forth. Allowing full flexibility requires either more old system hacks or completing the migration to a new system which doesn't have these limitations. I prefer to do the latter, but this change will make it somewhat easier to do.
2020-10-04 11:40:05 +01:00
5807a385cc
Added stub classes for Beacon
...
this doesn't do anything yet, it's intended solely to prevent further loss of data.
2020-10-02 00:59:53 +01:00
7a436dc47c
updated blockfactory consistency check
2020-10-01 22:10:02 +01:00
ec7c5fd669
Added a BrewingStandSlot enum
2020-09-26 17:20:02 +01:00
bf401421fa
Implemented bamboo ( #3762 )
2020-08-16 20:39:51 +01:00
ff2a3baa8e
Implemented Jukebox & Records ( #3742 )
...
Co-authored-by: Dylan K. Taylor <odigiman@gmail.com >
2020-08-07 21:07:58 +01:00
d3c90c4dce
update block factory consistency check
2020-07-11 18:54:35 +01:00
dae2a4ffce
SignText: added failing test case for index omission in constructor
2020-06-29 19:35:09 +01:00
13d784cd0c
Convert BlockFactory to singleton
2020-04-23 23:45:13 +01:00
fb1126797a
Merge branch 'stable'
2020-02-07 18:13:55 +00:00
5ad66c3c9b
BlockTest: throw exception instead of always-false assert
2020-02-06 13:21:39 +00:00
532dc0fb6f
tests/phpunit: populate iterable types for phpstan
2020-02-06 13:11:56 +00:00
b543744534
Rename Solid -> Opaque
...
the old naming was misleading, particularly in conjunction with isSolid().
2019-07-22 19:56:01 +01:00
a9c6489e08
updated consistency check for e388ac9c8b
2019-07-21 13:11:59 +01:00
08e1f6405c
implemented Carved Pumpkin
2019-07-09 17:56:09 +01:00
4a6d4953f2
updated consistency check for previous commit
2019-07-03 16:19:24 +01:00
f30cee15ca
added Dried Kelp block
2019-06-07 18:03:17 +01:00
9d42bc3c0c
updated consistency check for ad79e6cd8e
2019-06-01 12:12:55 +01:00
c29523baf4
added a bunch of new blocks
2019-05-24 19:59:03 +01:00
54216c2fee
Block: Blow away a bunch of useless classes
2019-05-24 19:38:43 +01:00
5024de38b8
added more types of stone slab
2019-05-15 18:15:25 +01:00
9e72bc91a2
Separate block break-info to a separate dynamic unit
2019-05-10 16:24:59 +01:00
2a3e6dcf00
Rename BlockIds -> BlockLegacyIds
2019-03-23 19:46:31 +00:00
79ef8e0803
Replace all legacy blockID references with BlockIds::
2019-03-23 19:44:33 +00:00
be0436b2a0
fix consistency check (again)
2019-03-23 19:20:52 +00:00
a8fa8572e1
partial sea pickle implementation
2019-03-23 18:11:27 +00:00
3c283aa700
fix consistency check (again)
2019-03-23 15:45:39 +00:00
7f4b76aa86
Implemented blue ice
2019-03-12 19:38:03 +00:00
1d4f44d259
Updated BlockFactory consistency check data
2019-03-10 19:53:55 +00:00
3079fd0251
Fixed test failures introduced by 6fe366e1ac
2019-03-09 19:05:32 +00:00
2ae09f635b
Add more output to consistency check script
...
this helps catching state mapping bugs.
2019-03-09 17:19:17 +00:00
8f1bc5d497
Flatten wall_banner and wall_sign into single blocks ( #2798 )
...
This comes with some problems, but the problems are more bearable than the previous code.
2019-03-08 16:37:26 +00:00
1e9e179ec0
Fixed Block consistency check failure since 943906cc6b
2019-03-01 08:24:25 +00:00