Class FallibleItemDispenserBehavior

java.lang.Object
net.minecraft.block.dispenser.ItemDispenserBehavior
net.minecraft.block.dispenser.FallibleItemDispenserBehavior
All Implemented Interfaces:
DispenserBehavior
Direct Known Subclasses:
BlockPlacementDispenserBehavior, ShearsDispenserBehavior

public abstract class FallibleItemDispenserBehavior extends ItemDispenserBehavior
Mappings:
Namespace Name
official ii
intermediary net/minecraft/class_2969
named net/minecraft/block/dispenser/FallibleItemDispenserBehavior
  • Field Details

    • success

      private boolean success
      Mappings:
      Namespace Name Mixin selector
      official c Lii;c:Z
      intermediary field_13364 Lnet/minecraft/class_2969;field_13364:Z
      named success Lnet/minecraft/block/dispenser/FallibleItemDispenserBehavior;success:Z
  • Constructor Details

    • FallibleItemDispenserBehavior

      public FallibleItemDispenserBehavior()
  • Method Details

    • isSuccess

      public boolean isSuccess()
      Mappings:
      Namespace Name Mixin selector
      official a Lii;a()Z
      intermediary method_27954 Lnet/minecraft/class_2969;method_27954()Z
      named isSuccess Lnet/minecraft/block/dispenser/FallibleItemDispenserBehavior;isSuccess()Z
    • setSuccess

      public void setSuccess(boolean success)
      Mappings:
      Namespace Name Mixin selector
      official a Lii;a(Z)V
      intermediary method_27955 Lnet/minecraft/class_2969;method_27955(Z)V
      named setSuccess Lnet/minecraft/block/dispenser/FallibleItemDispenserBehavior;setSuccess(Z)V
    • playSound

      protected void playSound(BlockPointer pointer)
      Overrides:
      playSound in class ItemDispenserBehavior
      Mappings:
      Namespace Name Mixin selector
      official a Lig;a(Lgv;)V
      intermediary method_10136 Lnet/minecraft/class_2347;method_10136(Lnet/minecraft/class_2342;)V
      named playSound Lnet/minecraft/block/dispenser/ItemDispenserBehavior;playSound(Lnet/minecraft/util/math/BlockPointer;)V