mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-01 10:14:36 +00:00
Give one concept one name
The highest block of a column is highest(x, z, ignoreFluid) wherever it is asked, and a sapling's surroundings read a block with get like every other block view. The registry's property change is withPropertyIfAccepted, as it checks the block and keeps a content plugin's block, unlike BlockState.withProperty. BlockView no longer links the removed PlacementContext.blocks().
This commit is contained in:
1 parent
cdd138d9f4
commit
84bd65fdc4
6 files changed
+9
-9
No files matched your search
@@ -302,7 +302,8 @@ if (!outcome.isPlaced()) {
|
||||
- A placement commits whole or not at all: blocks, then markers, and only when no stage rejected and none threw.
|
||||
- A rotated object turns its blocks with `BlockRegistry.rotate(state, turn)`: the `BlockTurn` says where the rotation
|
||||
moves a direction, and the platform turns the state's facing, axis or rotation to the nearest it has. `merge`,
|
||||
`withProperty` and `matches` change and compare states the way the platform does, and the `STORAGE` trait tells a
|
||||
`withPropertyIfAccepted` and `matches` change and compare states the way the platform does (`BlockState.withProperty`
|
||||
only sets the text, unchecked), and the `STORAGE` trait tells a
|
||||
container that holds items, such as for loot.
|
||||
|
||||
## Validators
|
||||
|
||||
Reference in new issue
Block a user