Package net.minecraft.block
Interface Degradable<T extends Enum<T>>
- All Known Subinterfaces:
Oxidizable
- All Known Implementing Classes:
class_8924
,class_8925
,class_8926
,class_8927
,OxidizableBlock
,OxidizableSlabBlock
,OxidizableStairsBlock
public interface Degradable<T extends Enum<T>>
- Mappings:
Namespace Name official cwb
intermediary net/minecraft/class_5547
named net/minecraft/block/Degradable
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfloat
getDegradationResult
(BlockState state) default void
method_54764
(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random) default Optional<BlockState>
method_54765
(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random)
-
Field Details
-
DEGRADING_RANGE
static final int DEGRADING_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official w_
Lcwb;w_:I
intermediary field_31056
Lnet/minecraft/class_5547;field_31056:I
named DEGRADING_RANGE
Lnet/minecraft/block/Degradable;DEGRADING_RANGE:I
-
-
Method Details
-
getDegradationResult
- Mappings:
Namespace Name Mixin selector official i_
Lcwb;i_(Ldhi;)Ljava/util/Optional;
intermediary method_31639
Lnet/minecraft/class_5547;method_31639(Lnet/minecraft/class_2680;)Ljava/util/Optional;
named getDegradationResult
Lnet/minecraft/block/Degradable;getDegradationResult(Lnet/minecraft/block/BlockState;)Ljava/util/Optional;
-
getDegradationChanceMultiplier
float getDegradationChanceMultiplier()- Mappings:
Namespace Name Mixin selector official av_
Lcwb;av_()F
intermediary method_33620
Lnet/minecraft/class_5547;method_33620()F
named getDegradationChanceMultiplier
Lnet/minecraft/block/Degradable;getDegradationChanceMultiplier()F
-
method_54764
default void method_54764(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random) - Mappings:
Namespace Name Mixin selector official a_
Lcwb;a_(Ldhi;Lame;Lht;Lats;)V
intermediary method_54764
Lnet/minecraft/class_5547;method_54764(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
named method_54764
Lnet/minecraft/block/Degradable;method_54764(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
-
getDegradationLevel
T getDegradationLevel()- Mappings:
Namespace Name Mixin selector official c
Lcwb;c()Ljava/lang/Enum;
intermediary method_33622
Lnet/minecraft/class_5547;method_33622()Ljava/lang/Enum;
named getDegradationLevel
Lnet/minecraft/block/Degradable;getDegradationLevel()Ljava/lang/Enum;
-
method_54765
default Optional<BlockState> method_54765(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random) - Mappings:
Namespace Name Mixin selector official c
Lcwb;c(Ldhi;Lame;Lht;Lats;)Ljava/util/Optional;
intermediary method_54765
Lnet/minecraft/class_5547;method_54765(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Ljava/util/Optional;
named method_54765
Lnet/minecraft/block/Degradable;method_54765(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Ljava/util/Optional;
-