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 cvn
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 s_ Lcvn;s_: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 t_ Lcvn;t_: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 Lcvn;a(Lcmt;)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 Lcvn;b(Lcmt;)Lcmt;
      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 Lcvn;b(Lcyt;)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 Lcvn;c(Lcmt;)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 Lcvn;c(Lcyt;)Lcyt;
      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 a Lcnr;a(Lcyt;)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 Lcnr;a()F
      intermediary method_33620 Lnet/minecraft/class_5547;method_33620()F
      named getDegradationChanceMultiplier Lnet/minecraft/block/Degradable;getDegradationChanceMultiplier()F