Interface Oxidizable

All Superinterfaces:
Degradable<Oxidizable.OxidationLevel>
All Known Implementing Classes:
OxidizableBlock, OxidizableSlabBlock, OxidizableStairsBlock

public interface Oxidizable extends Degradable<Oxidizable.OxidationLevel>
Mappings:
Namespace Name
official cyp
intermediary net/minecraft/class_5955
named net/minecraft/block/Oxidizable
  • Field Details

    • OXIDATION_LEVEL_INCREASES

      static final Supplier<BiMap<Block,Block>> OXIDATION_LEVEL_INCREASES
      Mappings:
      Namespace Name Mixin selector
      official u_ Lcyp;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

      static final Supplier<BiMap<Block,Block>> OXIDATION_LEVEL_DECREASES
      Mappings:
      Namespace Name Mixin selector
      official v_ Lcyp;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

      static Optional<Block> getDecreasedOxidationBlock(Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyp;a(Lcpn;)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

      static Block getUnaffectedOxidationBlock(Block block)
      Mappings:
      Namespace Name Mixin selector
      official b Lcyp;b(Lcpn;)Lcpn;
      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

      static Optional<BlockState> getDecreasedOxidationState(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official b Lcyp;b(Ldcb;)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

      static Optional<Block> getIncreasedOxidationBlock(Block block)
      Mappings:
      Namespace Name Mixin selector
      official c Lcyp;c(Lcpn;)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

      static BlockState getUnaffectedOxidationState(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official c Lcyp;c(Ldcb;)Ldcb;
      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

      default Optional<BlockState> getDegradationResult(BlockState state)
      Specified by:
      getDegradationResult in interface Degradable<Oxidizable.OxidationLevel>
      Mappings:
      Namespace Name Mixin selector
      official i_ Lcqn;i_(Ldcb;)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 interface Degradable<Oxidizable.OxidationLevel>
      Mappings:
      Namespace Name Mixin selector
      official a Lcqn;a()F
      intermediary method_33620 Lnet/minecraft/class_5547;method_33620()F
      named getDegradationChanceMultiplier Lnet/minecraft/block/Degradable;getDegradationChanceMultiplier()F