Package net.minecraft.world.level.block
Interface MultifaceSpreader.SpreadConfig
- All Known Implementing Classes:
MultifaceSpreader.DefaultSpreaderConfig
,SculkVeinBlock.SculkVeinSpreaderConfig
- Enclosing class:
- MultifaceSpreader
public static interface MultifaceSpreader.SpreadConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canSpreadFrom
(BlockState p_221715_, Direction p_221716_) boolean
canSpreadInto
(BlockGetter p_221698_, BlockPos p_221699_, MultifaceSpreader.SpreadPos p_221700_) default MultifaceSpreader.SpreadType[]
getStateForPlacement
(BlockState p_221707_, BlockGetter p_221708_, BlockPos p_221709_, Direction p_221710_) default boolean
hasFace
(BlockState p_221712_, Direction p_221713_) default boolean
isOtherBlockValidAsSource
(BlockState p_221706_) default boolean
placeBlock
(LevelAccessor p_221702_, MultifaceSpreader.SpreadPos p_221703_, BlockState p_221704_, boolean p_221705_)
-
Method Details
-
getStateForPlacement
@Nullable BlockState getStateForPlacement(BlockState p_221707_, BlockGetter p_221708_, BlockPos p_221709_, Direction p_221710_) -
canSpreadInto
boolean canSpreadInto(BlockGetter p_221698_, BlockPos p_221699_, MultifaceSpreader.SpreadPos p_221700_) -
getSpreadTypes
-
hasFace
-
isOtherBlockValidAsSource
-
canSpreadFrom
-
placeBlock
default boolean placeBlock(LevelAccessor p_221702_, MultifaceSpreader.SpreadPos p_221703_, BlockState p_221704_, boolean p_221705_)
-