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 named net/minecraft/block/dispenser/FallibleItemDispenserBehavior
intermediary net/minecraft/class_2969
official ky
-
Field Summary
Fields inherited from interface net.minecraft.block.dispenser.DispenserBehavior
LOGGER, NOOP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
playSound
(BlockPointer pointer) void
setSuccess
(boolean success) Methods inherited from class net.minecraft.block.dispenser.ItemDispenserBehavior
decrementStackWithRemainder, dispense, dispenseSilently, spawnItem, spawnParticles
-
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
Lky;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
Lky;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
Lky;a(Z)V
-
playSound
- Overrides:
playSound
in classItemDispenserBehavior
- 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
Lkw;a(Lku;)V
-