Package net.minecraft.block
Interface Oxidizable
- All Superinterfaces:
Degradable<Oxidizable.OxidationLevel>
- All Known Implementing Classes:
OxidizableBlock
,OxidizableSlabBlock
,OxidizableStairsBlock
- Mappings:
Namespace Name official cyh
intermediary net/minecraft/class_5955
named net/minecraft/block/Oxidizable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from interface net.minecraft.block.Degradable
DEGRADING_RANGE
-
Method Summary
Modifier and TypeMethodDescriptiongetDecreasedOxidationBlock
(Block block) static Optional<BlockState>
default float
default Optional<BlockState>
getDegradationResult
(BlockState state) getIncreasedOxidationBlock
(Block block) static Block
getUnaffectedOxidationBlock
(Block block) static BlockState
Methods inherited from interface net.minecraft.block.Degradable
getDegradationLevel, tickDegradation, tryDegrade
-
Field Details
-
OXIDATION_LEVEL_INCREASES
- Mappings:
Namespace Name Mixin selector official u_
Lcyh;u_:Ljava/util/function/Supplier;
intermediary field_29564
Lnet/minecraft/class_5955;field_29564:Ljava/util/function/Supplier;
named OXIDATION_LEVEL_INCREASES
Lnet/minecraft/block/Oxidizable;OXIDATION_LEVEL_INCREASES:Ljava/util/function/Supplier;
-
OXIDATION_LEVEL_DECREASES
- Mappings:
Namespace Name Mixin selector official v_
Lcyh;v_:Ljava/util/function/Supplier;
intermediary field_29565
Lnet/minecraft/class_5955;field_29565:Ljava/util/function/Supplier;
named OXIDATION_LEVEL_DECREASES
Lnet/minecraft/block/Oxidizable;OXIDATION_LEVEL_DECREASES:Ljava/util/function/Supplier;
-
-
Method Details
-
getDecreasedOxidationBlock
- Mappings:
Namespace Name Mixin selector official a
Lcyh;a(Lcpg;)Ljava/util/Optional;
intermediary method_34732
Lnet/minecraft/class_5955;method_34732(Lnet/minecraft/class_2248;)Ljava/util/Optional;
named getDecreasedOxidationBlock
Lnet/minecraft/block/Oxidizable;getDecreasedOxidationBlock(Lnet/minecraft/block/Block;)Ljava/util/Optional;
-
getUnaffectedOxidationBlock
- Mappings:
Namespace Name Mixin selector official b
Lcyh;b(Lcpg;)Lcpg;
intermediary method_34734
Lnet/minecraft/class_5955;method_34734(Lnet/minecraft/class_2248;)Lnet/minecraft/class_2248;
named getUnaffectedOxidationBlock
Lnet/minecraft/block/Oxidizable;getUnaffectedOxidationBlock(Lnet/minecraft/block/Block;)Lnet/minecraft/block/Block;
-
getDecreasedOxidationState
- Mappings:
Namespace Name Mixin selector official b
Lcyh;b(Ldbt;)Ljava/util/Optional;
intermediary method_34735
Lnet/minecraft/class_5955;method_34735(Lnet/minecraft/class_2680;)Ljava/util/Optional;
named getDecreasedOxidationState
Lnet/minecraft/block/Oxidizable;getDecreasedOxidationState(Lnet/minecraft/block/BlockState;)Ljava/util/Optional;
-
getIncreasedOxidationBlock
- Mappings:
Namespace Name Mixin selector official c
Lcyh;c(Lcpg;)Ljava/util/Optional;
intermediary method_34737
Lnet/minecraft/class_5955;method_34737(Lnet/minecraft/class_2248;)Ljava/util/Optional;
named getIncreasedOxidationBlock
Lnet/minecraft/block/Oxidizable;getIncreasedOxidationBlock(Lnet/minecraft/block/Block;)Ljava/util/Optional;
-
getUnaffectedOxidationState
- Mappings:
Namespace Name Mixin selector official c
Lcyh;c(Ldbt;)Ldbt;
intermediary method_34738
Lnet/minecraft/class_5955;method_34738(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
named getUnaffectedOxidationState
Lnet/minecraft/block/Oxidizable;getUnaffectedOxidationState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
getDegradationResult
- Specified by:
getDegradationResult
in interfaceDegradable<Oxidizable.OxidationLevel>
- Mappings:
Namespace Name Mixin selector official i_
Lcqg;i_(Ldbt;)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
default float getDegradationChanceMultiplier()- Specified by:
getDegradationChanceMultiplier
in interfaceDegradable<Oxidizable.OxidationLevel>
- Mappings:
Namespace Name Mixin selector official a
Lcqg;a()F
intermediary method_33620
Lnet/minecraft/class_5547;method_33620()F
named getDegradationChanceMultiplier
Lnet/minecraft/block/Degradable;getDegradationChanceMultiplier()F
-