Skip to content

Commit bfe3aa4

Browse files
authored
Mention onStateReplaced changing (#128)
Looks like everything that used it to, for example, drop extra items from a block entity, have switched to the method in BlockEntity.
1 parent 31485af commit bfe3aa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_posts/2025-03-24-1215.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,4 @@ In Minecraft [25w03a](https://www.minecraft.net/en-us/article/minecraft-snapshot
144144

145145
### Miscellaneous
146146
- `DataPool` has been replaced with `Pool`.
147+
- `AbstractBlock#onStateReplaced` has been significantly changed, the state provided is the old state and it now runs after block entities get removed. Block entities should use `BlockEntity#onBlockReplaced` instead.

0 commit comments

Comments
 (0)