Package net.minecraft.world.level.block
Interface WeatheringCopper
- All Superinterfaces:
ChangeOverTimeBlock<WeatheringCopper.WeatherState>
- All Known Implementing Classes:
WeatheringCopperBarsBlock,WeatheringCopperBulbBlock,WeatheringCopperChainBlock,WeatheringCopperChestBlock,WeatheringCopperDoorBlock,WeatheringCopperFullBlock,WeatheringCopperGolemStatueBlock,WeatheringCopperGrateBlock,WeatheringCopperSlabBlock,WeatheringCopperStairBlock,WeatheringCopperTrapDoorBlock,WeatheringLanternBlock,WeatheringLightningRodBlock
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.Deprecated.Neo: Use theinverse mapgenerated from the data map, this field will be ignored in a future versionFields inherited from interface net.minecraft.world.level.block.ChangeOverTimeBlock
SCAN_DISTANCE -
Method Summary
Modifier and TypeMethodDescriptiondefault floatstatic Blockstatic BlockStategetFirst(BlockState pState) default Optional<BlockState> getNext(BlockState p_154893_) getPrevious(Block pBlock) static Optional<BlockState> getPrevious(BlockState pState) Methods inherited from interface net.minecraft.world.level.block.ChangeOverTimeBlock
changeOverTime, getAge, getNextState
-
Field Details
-
NEXT_BY_BLOCK
Deprecated.Neo: Usethe data map, this field will be ignored in a future version -
PREVIOUS_BY_BLOCK
Deprecated.Neo: Use theinverse mapgenerated from the data map, this field will be ignored in a future version
-
-
Method Details
-
getPrevious
-
getFirst
-
getPrevious
-
getNext
-
getFirst
-
getNext
- Specified by:
getNextin interfaceChangeOverTimeBlock<WeatheringCopper.WeatherState>
-
getChanceModifier
default float getChanceModifier()- Specified by:
getChanceModifierin interfaceChangeOverTimeBlock<WeatheringCopper.WeatherState>
-
the data map, this field will be ignored in a future version