Package net.minecraft.world.level.block
Interface ChangeOverTimeBlock<T extends Enum<T>>
- All Known Subinterfaces:
WeatheringCopper
- All Known Implementing Classes:
WeatheringCopperFullBlock
,WeatheringCopperSlabBlock
,WeatheringCopperStairBlock
public interface ChangeOverTimeBlock<T extends Enum<T>>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
applyChangeOverTime
(BlockState p_153047_, ServerLevel p_153048_, BlockPos p_153049_, Random p_153050_) getAge()
float
getNext
(BlockState p_153040_) default void
onRandomTick
(BlockState p_153042_, ServerLevel p_153043_, BlockPos p_153044_, Random p_153045_)
-
Field Details
-
SCAN_DISTANCE
static final int SCAN_DISTANCE- See Also:
-
-
Method Details
-
getNext
-
getChanceModifier
float getChanceModifier() -
onRandomTick
default void onRandomTick(BlockState p_153042_, ServerLevel p_153043_, BlockPos p_153044_, Random p_153045_) -
getAge
T getAge() -
applyChangeOverTime
default void applyChangeOverTime(BlockState p_153047_, ServerLevel p_153048_, BlockPos p_153049_, Random p_153050_)
-