Package net.minecraft.block.dispenser
Class FallibleItemDispenserBehavior
java.lang.Object
net.minecraft.block.dispenser.ItemDispenserBehavior
net.minecraft.block.dispenser.FallibleItemDispenserBehavior
- All Implemented Interfaces:
DispenserBehavior
- Direct Known Subclasses:
BlockPlacementDispenserBehavior
,ShearsDispenserBehavior
- Mappings:
Namespace Name official ia
intermediary net/minecraft/class_2969
named net/minecraft/block/dispenser/FallibleItemDispenserBehavior
-
Field Summary
FieldsFields inherited from interface net.minecraft.block.dispenser.DispenserBehavior
LOGGER, NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
playSound
(BlockPointer pointer) void
setSuccess
(boolean success) Methods inherited from class net.minecraft.block.dispenser.ItemDispenserBehavior
dispense, dispenseSilently, spawnItem, spawnParticles
-
Field Details
-
success
private boolean success- Mappings:
Namespace Name Mixin selector official c
Lia;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
Lia;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
Lia;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
- Overrides:
playSound
in classItemDispenserBehavior
- Mappings:
Namespace Name Mixin selector official a
Lhy;a(Lgu;)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
-