Package net.minecraft.world.level.block
Interface SculkBehaviour
- All Known Implementing Classes:
SculkBlock,SculkVeinBlock
public interface SculkBehaviour
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanattemptSpreadVein(LevelAccessor level, BlockPos pos, BlockState state, Collection<Direction> directions, boolean markForPostprocessing) intattemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) default booleandefault booleandepositCharge(LevelAccessor level, BlockPos pos, RandomSource random) default bytedefault voidonDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) default intupdateDecayDelay(int currentDecayDelay)
-
Field Details
-
DEFAULT
-
-
Method Details
-
getSculkSpreadDelay
default byte getSculkSpreadDelay() -
onDischarged
-
depositCharge
-
attemptSpreadVein
default boolean attemptSpreadVein(LevelAccessor level, BlockPos pos, BlockState state, @Nullable Collection<Direction> directions, boolean markForPostprocessing) -
canChangeBlockStateOnSpread
default boolean canChangeBlockStateOnSpread() -
updateDecayDelay
default int updateDecayDelay(int currentDecayDelay) -
attemptUseCharge
int attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks)
-