Package net.minecraft.world.level.block
Interface SculkBehaviour
- All Known Implementing Classes:
SculkBlock
,SculkVeinBlock
public interface SculkBehaviour
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
attemptSpreadVein
(LevelAccessor p_222034_, BlockPos p_222035_, BlockState p_222036_, Collection<Direction> p_222037_, boolean p_222038_) int
attemptUseCharge
(SculkSpreader.ChargeCursor p_222039_, LevelAccessor p_222040_, BlockPos p_222041_, RandomSource p_222042_, SculkSpreader p_222043_, boolean p_222044_) default boolean
default boolean
depositCharge
(LevelAccessor p_222031_, BlockPos p_222032_, RandomSource p_222033_) default byte
default void
onDischarged
(LevelAccessor p_222026_, BlockState p_222027_, BlockPos p_222028_, RandomSource p_222029_) default int
updateDecayDelay
(int p_222045_)
-
Field Details
-
DEFAULT
-
-
Method Details
-
getSculkSpreadDelay
default byte getSculkSpreadDelay() -
onDischarged
default void onDischarged(LevelAccessor p_222026_, BlockState p_222027_, BlockPos p_222028_, RandomSource p_222029_) -
depositCharge
-
attemptSpreadVein
default boolean attemptSpreadVein(LevelAccessor p_222034_, BlockPos p_222035_, BlockState p_222036_, @Nullable Collection<Direction> p_222037_, boolean p_222038_) -
canChangeBlockStateOnSpread
default boolean canChangeBlockStateOnSpread() -
updateDecayDelay
default int updateDecayDelay(int p_222045_) -
attemptUseCharge
int attemptUseCharge(SculkSpreader.ChargeCursor p_222039_, LevelAccessor p_222040_, BlockPos p_222041_, RandomSource p_222042_, SculkSpreader p_222043_, boolean p_222044_)
-