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
named net/minecraft/block/dispenser/FallibleItemDispenserBehavior
intermediary net/minecraft/class_2969
official kv
  • Field Details

    • success

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

    • FallibleItemDispenserBehavior

      public FallibleItemDispenserBehavior()
  • Method Details

    • isSuccess

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

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

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