15465 Commits

Author SHA1 Message Date
Dylan K. Taylor
a22276e679
there's always one ... 2022-07-10 00:19:27 +01:00
Dylan K. Taylor
260e54e4b1
Skeleton for copper blocks, stairs and slabs 2022-07-10 00:18:35 +01:00
Dylan K. Taylor
a44c089f98
REEEEEEEEEEEEEE 2022-07-09 20:40:18 +01:00
Dylan K. Taylor
5e70ae2066
Added lightning rods 2022-07-09 20:18:22 +01:00
Dylan K. Taylor
ad7528e3f3
Added warped wart blocks, gilded blackstone and crying obsidian 2022-07-09 20:00:10 +01:00
Dylan K. Taylor
99ff78a8a5
Updated BedrockData 2022-07-09 18:57:32 +01:00
Dylan K. Taylor
9ffee7cfc3
always the CS ... 2022-07-09 16:30:59 +01:00
Dylan K. Taylor
ccb3c3cb05
BlockStateData: use array<Tag> instead of CompoundTag to store state properties
this reduces the footprint of RuntimeBlockMapping by a further 1 MB, as well as simplifying various parts of the code, and solidifying the immutability guarantee of BlockStateData.
2022-07-09 16:03:51 +01:00
Dylan K. Taylor
151f2c3f3a
BlockStateDictionary: reduce memory footprint by 5 MB by deduplicating blockstate NBT keys and values 2022-07-08 21:51:44 +01:00
Dylan K. Taylor
66d655731a
Don't barf on air itemstacks found on disk
closes #5143

this is caused by bugs in PM4, where it saved air itemstacks when it wasn't supposed to.

These issues are now all addressed in PM5, since ItemSerializer won't accept air itemstacks.
2022-07-08 18:19:46 +01:00
Dylan K. Taylor
54a773be0c
SubChunk::__construct(): rename blocks to blockLayers 2022-07-07 20:04:16 +01:00
Dylan K. Taylor
d894c5e97f
Drop string ID -> legacy ID conversion tables
these are not used for anything anymore
2022-07-07 20:00:25 +01:00
Dylan K. Taylor
419b21281d
Fix Copilot mixup 2022-07-07 19:54:04 +01:00
Dylan K. Taylor
56e6a55645
LegacyBlockStateMapper: provide a way to add custom upgrade mappings
this will be needed by plugin developers to upgrade old custom blocks from PM4.
2022-07-07 19:44:16 +01:00
Dylan K. Taylor
c67e42a723
Add a hook to enable blocks to react to projectiles colliding with them
this enables implementing blocks such as the target block.
2022-07-07 01:44:13 +01:00
Dylan K. Taylor
3e4f01d85e
VanillaBlocks: fixed case of some names 2022-07-07 01:27:30 +01:00
Dylan K. Taylor
da9937933b
Implemented honey bottle 2022-07-07 01:06:17 +01:00
Dylan K. Taylor
2142eb3cc9
VanillaItems: sort lines alphabetically 2022-07-07 01:01:05 +01:00
Dylan K. Taylor
690efb09e3
Fixed ItemTypeIds::FIRST_UNUSED_ITEM_ID 2022-07-07 00:55:34 +01:00
Dylan K. Taylor
e4d24e1edd
Invert dependency between VanillaBlocks and BlockFactory 2022-07-07 00:22:08 +01:00
Dylan K. Taylor
4d6fb2b925
Removed ItemFactory 2022-07-06 23:57:29 +01:00
Dylan K. Taylor
976502e3db
Move item type initialization to VanillaItems
ItemFactory no longer has an obvious purpose, thanks to this ...
2022-07-06 23:47:51 +01:00
Dylan K. Taylor
b0c76f4db5
Fixed botched unit tests 2022-07-06 23:28:08 +01:00
Dylan K. Taylor
8886a023f1
Reduce the size of block_factory_consistency_check.json by improving the storage format
this reduces the size by 65%, but more importantly, doesn't cause several pages of flooding in git diff.
2022-07-06 23:20:13 +01:00
Dylan K. Taylor
ae70c63798
Added tinted glass 2022-07-06 23:01:17 +01:00
Dylan K. Taylor
986daab511
ItemFactory: remove dead TODO comment 2022-07-06 22:25:17 +01:00
Dylan K. Taylor
eb404bddb4
5.0.0-ALPHA2 is next 2022-07-06 21:52:37 +01:00
Dylan K. Taylor
30079f6fd0
Release 5.0.0-ALPHA1 5.0.0-ALPHA1 2022-07-06 21:52:37 +01:00
Dylan K. Taylor
ce87424336
update changelog [ci skip] 2022-07-06 21:49:03 +01:00
Dylan K. Taylor
06d3fc2880
Changelog for 5.0.0-ALPHA1 2022-07-06 21:41:13 +01:00
Dylan K. Taylor
d40e864821
Item: update documentation of legacyJsonDeserialize() 2022-07-06 21:15:27 +01:00
Dylan K. Taylor
88a5a95479
Block: mark new functions as @internal 2022-07-06 17:26:15 +01:00
Dylan K. Taylor
00db73a5b2
Merge branch 'next-minor' into next-major 2022-07-06 16:20:06 +01:00
Dylan K. Taylor
5a8983dd81
Merge branch 'stable' into next-minor 2022-07-06 16:17:04 +01:00
Dylan K. Taylor
269b6ed16a
FallableTrait: fixed logic for block replacement
closes #5126

I don't know why it wasn't done this way to begin with. FallingBlock always used canBeReplaced()...
2022-07-06 16:16:49 +01:00
Dylan K. Taylor
f031c3c602
Updated NBT dependency 2022-07-06 15:19:19 +01:00
ipad54
a377795db9
Fixed SoulFire damage (#5138) 2022-07-06 14:57:07 +01:00
Dylan K. Taylor
a8728a02f6
BlockStateDictionary: extract a more generic helper method for decoding block palette files 2022-07-06 14:37:46 +01:00
Dylan K. Taylor
dc8f65c0dd
Remove unnecessary BlockStateDictionary usages 2022-07-06 14:33:27 +01:00
Dylan K. Taylor
5c4288de01
block/Light: fixed placement when clicking on another light block
closes #5132
2022-07-06 14:23:32 +01:00
Dylan K. Taylor
46b79fbe85
StringToItemParser: fixed light_15 and light_block_15 aliases being missing 2022-07-06 14:11:33 +01:00
Alexey
494cb580f3
Add sound after wood stripping (#5124) 2022-07-06 14:06:52 +01:00
ipad54
64e93ae4e1
Fixed spyglass using animation (#5137) 2022-07-06 14:02:43 +01:00
dependabot[bot]
f3e09dd7d5
Bump shivammathur/setup-php from 2.19.1 to 2.20.0 (#5135)
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](https://github.com/shivammathur/setup-php/compare/2.19.1...2.20.0)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-06 13:28:46 +01:00
Dylan K. Taylor
fe93609c8d
Added mud bricks and related blocks 2022-07-06 00:02:51 +01:00
Dylan K. Taylor
ebe6782295
Remove TODO comment 2022-07-05 23:37:55 +01:00
Dylan K. Taylor
638d03846c
Added blast resistance for cobbled and polished deepslate 2022-07-05 23:11:12 +01:00
Dylan K. Taylor
f57cd95ad5
Added blast resistances to some blocks
following values extracted from BDS
2022-07-05 23:02:04 +01:00
Dylan K. Taylor
d725ded7b6
Added new ores 2022-07-05 21:43:47 +01:00
Dylan K. Taylor
a8dae96bb0
register honeycomb blocks properly 2022-07-05 21:03:27 +01:00