Dylan K. Taylor
d4c4ae3d7a
Merge branch 'next-minor' into next-major
2022-08-25 19:27:29 +01:00
Dylan K. Taylor
c16893cbac
Merge branch 'stable' into next-minor
2022-08-25 19:25:19 +01:00
ipad54
709a869045
Vines can now only be placed on full cube blocks ( #5053 )
...
fixes #2673
2022-08-21 21:04:24 +01:00
Dylan K. Taylor
fc8434308b
SignText: changed misleading documentation
...
this looks like a leftover from the days when sign text was handled by the tile directly
2022-08-21 20:45:23 +01:00
alvin0319
fedd541663
Dye now can be used to change Sign text color ( #4690 )
2022-08-21 20:05:09 +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
Dylan K. Taylor
6e8f11d5e8
UnknownBlock: fixed type data encoding
2022-08-16 17:42:18 +01:00
ShockedPlot7560
8fa81242d6
Sugarcane: fixed support conditions ( #5052 )
2022-08-15 17:08:26 +01:00
IvanCraft623
223de3ad23
Implement Fire Charge ( #5225 )
2022-08-15 17:00:58 +01:00
Colin
304bb84af2
BlockFormEvent: Added getCausingBlock() method ( #5226 )
2022-08-15 16:26:48 +01:00
Dylan K. Taylor
d4f96a155a
Support axis rotation of Muddy Mangrove Roots (implemented in 1.19.20)
2022-08-14 18:53:01 +01:00
Colin
bf4f6e5d53
Bamboo: fixed supporting block requirements ( #5196 )
2022-08-14 17:37:55 +01:00
IvanCraft623
f1c571a528
WaterCauldron: fixed dye not being cleared when using water bottles or buckets, close #5221 ( #5222 )
2022-08-12 21:10:31 +01:00
Colin
723ae9eca0
Fixed tallgrass being unplaceable since d9b050fb688155ec962f574388eb48342fc8f9d1 ( #5197 )
2022-07-27 02:43:05 +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
e3640907ba
fix PHPStan
2022-07-24 00:14:17 +01:00
Dylan K. Taylor
d9b050fb68
First look at using (very) basic tags for dynamic block properties
...
this allows plugins to, for example, add their own custom dirt-like blocks which support having flowers placed on them.
2022-07-24 00:08:02 +01:00
Dylan K. Taylor
817591910b
Fix CS
2022-07-23 21:01:49 +01:00
Dylan K. Taylor
6a2315a63d
Accept BlockTypeInfo in Block constructor, instead of BlockBreakInfo
...
this will allow more stuff to be passed via the constructor without having to change dozens of classes to do it.
2022-07-23 20:42:54 +01:00
Dylan K. Taylor
89b784734e
Fixed crimson/warped planks being usable as furnace fuel
2022-07-23 18:45:57 +01:00
Dylan K. Taylor
b751207969
Added missing blast resistance to Crying Obsidian
2022-07-23 18:24:09 +01:00
Dylan K. Taylor
cffa3b8a72
Reduce BlockBreakInfo code width further by specializing for common tool types
...
this considerably reduces width and makes adding new stuff much less irritating.
2022-07-23 18:21:04 +01:00
Dylan K. Taylor
91e91b1d9f
Reduce code width when tool tiers are given to BlockBreakInfo
...
this is the majority of uses of harvest level
2022-07-23 17:56:08 +01:00
Dylan K. Taylor
102406ee79
Added froglights
2022-07-23 17:40:38 +01:00
Dylan K. Taylor
38e495babf
Added mangrove roots and muddy mangrove roots
2022-07-23 17:20:23 +01:00
Dylan K. Taylor
b13f333b2e
Added mud and packed mud
2022-07-23 16:40:46 +01:00
Dylan K. Taylor
a7313ed9d9
Added rooted dirt
2022-07-23 16:12:17 +01:00
Dylan K. Taylor
f6c9bf5cd1
Merge branch 'next-minor' into next-major
2022-07-20 20:55:33 +01:00
Dylan K. Taylor
2940547026
Eliminate repeated calls to Position->getWorld()
...
as well as improving readability, it also improves performance in some areas.
2022-07-20 20:44:05 +01:00
Dylan K. Taylor
24e72ec109
ContainerTrait: improve performance of block destroy hook
...
this was creating useless vector3s for every iteration, as well as repeatedly invoking Position->getWorld() for no reason.
2022-07-20 20:39:37 +01:00
Dylan K. Taylor
67682cbf27
Added chorus plant and flower
2022-07-20 20:19:36 +01:00
Dylan T
c1acf44337
Implement cauldrons ( #5163 )
...
the following things are currently not implemented:
- particle/sound effects when an entity extinguishes itself
- particle/sound effects when mixing different stuff in a cauldron
- powder snow cauldron
both of these things are contingent on #5169 , but for the time being, the PR is functionally complete and I want to move on to something else without being stalled by the particle+sound problem (which I haven't yet decided how to solve).
2022-07-20 16:12:58 +01:00
Dylan K. Taylor
44c4118080
fix CS again
2022-07-20 15:22:47 +01:00
Dylan K. Taylor
fa201b081c
Added spore blossoms
...
I got tired of the flood of warning messages every time someone joined the dev server...
2022-07-19 20:28:12 +01:00
Dylan K. Taylor
de3bbb71fa
Merge branch 'next-minor' into next-major
2022-07-19 20:20:30 +01:00
Dylan K. Taylor
87b840ff97
Added a hack to allow tiles to trigger client-side render updates on blocks without actually changing the block
...
Bedrock block entity updates don't directly trigger block rendering
updates. This is a problem when the block entity data affects the
block's appearance directly (e.g. cauldron water colour, flower pot
contents), because it means changing them won't directly result in a
client-side render update.
This hack allows tiles to spoof block updates without actually changing
the server-side block, keeping the internals and API clean of random
shitbox workarounds.
fixes #5174
fixes #4944
2022-07-19 17:47:46 +01:00
Dylan K. Taylor
6d4279671e
A giant hack to cut down code needed for runtime block serialization by 50%
...
this also avoids repeated information and inconsistencies.
2022-07-18 18:25:41 +01:00
Dylan K. Taylor
cf34f88a67
Make Block::decodeState() and encodeState() more codegen-friendly
2022-07-18 15:48:03 +01:00
Dylan K. Taylor
8660dfe576
Generate traits for runtime enum serialization instead of helper classes
2022-07-18 15:16:33 +01:00
Dylan K. Taylor
012b668537
Avoid bogus assumptions about block and item NBT on tiles
2022-07-17 21:23:41 +01:00
IvanCraft623
fec89b7803
Lava burns entities for only 8 seconds in Bedrock ( #5173 )
2022-07-17 20:50:15 +01:00
Dylan K. Taylor
4f2f9b4352
Block::readStateFromWorld() now returns the block object that should be used for the target position
...
this enables changing the block type completely if the situation calls for it.
2022-07-16 20:04:08 +01:00
Dylan K. Taylor
d0ff6d2e36
Enable various types of interaction to return items to the player, without needing to have a bunch of boilerplate creative mode and held item checks
...
it became glaringly obvious that this was needed because of #4827 and #4868 .
this is further needed with the addition of cauldrons.
2022-07-16 19:50:33 +01:00
Dylan K. Taylor
ba2baba7cc
Added netherite blocks and items
2022-07-14 20:39:09 +01:00
Dylan K. Taylor
eb8fb63409
Added cartography and smithing tables
...
these have working inventories, and their crafting menus will 'just work' once the items for the associated recipes have been implemented (maps, netherite).
2022-07-14 18:01:47 +01:00
Dylan K. Taylor
d321094081
Added hanging roots
2022-07-14 16:47:55 +01:00
Dylan K. Taylor
323d31005f
Added glowing item frames
2022-07-14 16:24:20 +01:00
Dylan K. Taylor
0c7370e564
Added wither rose
2022-07-14 16:07:16 +01:00
Dylan K. Taylor
7dd8876515
TNT: remove the old unreliable way of ignition on burning arrow collide
2022-07-14 00:23:12 +01:00