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
Fields - 
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyChangeOverTime(BlockState p_220953_, ServerLevel p_220954_, BlockPos p_220955_, RandomSource p_220956_) getAge()floatgetNext(BlockState p_153040_) default voidonRandomTick(BlockState p_220948_, ServerLevel p_220949_, BlockPos p_220950_, RandomSource p_220951_)  
- 
Field Details
- 
SCAN_DISTANCE
static final int SCAN_DISTANCE- See Also:
 
 
 - 
 - 
Method Details
- 
getNext
 - 
getChanceModifier
float getChanceModifier() - 
onRandomTick
default void onRandomTick(BlockState p_220948_, ServerLevel p_220949_, BlockPos p_220950_, RandomSource p_220951_)  - 
getAge
T getAge() - 
applyChangeOverTime
default void applyChangeOverTime(BlockState p_220953_, ServerLevel p_220954_, BlockPos p_220955_, RandomSource p_220956_)  
 -