Package net.minecraft.block.dispenser
Class ItemDispenserBehavior
java.lang.Object
net.minecraft.block.dispenser.ItemDispenserBehavior
- All Implemented Interfaces:
DispenserBehavior
- Direct Known Subclasses:
BoatDispenserBehavior
,FallibleItemDispenserBehavior
,ProjectileDispenserBehavior
- Mappings:
Namespace Name official hy
intermediary net/minecraft/class_2347
named net/minecraft/block/dispenser/ItemDispenserBehavior
-
Field Summary
Fields inherited from interface net.minecraft.block.dispenser.DispenserBehavior
LOGGER, NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ItemStack
dispense
(BlockPointer pointer, ItemStack stack) protected ItemStack
dispenseSilently
(BlockPointer pointer, ItemStack stack) protected void
playSound
(BlockPointer pointer) static void
protected void
spawnParticles
(BlockPointer pointer, Direction side)
-
Constructor Details
-
ItemDispenserBehavior
public ItemDispenserBehavior()
-
-
Method Details
-
dispense
- Specified by:
dispense
in interfaceDispenserBehavior
- Mappings:
Namespace Name Mixin selector official dispense
Lhz;dispense(Lgu;Lcax;)Lcax;
intermediary dispense
Lnet/minecraft/class_2357;dispense(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
named dispense
Lnet/minecraft/block/dispenser/DispenserBehavior;dispense(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
dispenseSilently
- Mappings:
Namespace Name Mixin selector official a
Lhy;a(Lgu;Lcax;)Lcax;
intermediary method_10135
Lnet/minecraft/class_2347;method_10135(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
named dispenseSilently
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;dispenseSilently(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
spawnItem
- Mappings:
Namespace Name Mixin selector official a
Lhy;a(Lcgx;Lcax;ILgy;Lhj;)V
intermediary method_10134
Lnet/minecraft/class_2347;method_10134(Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;ILnet/minecraft/class_2350;Lnet/minecraft/class_2374;)V
named spawnItem
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;spawnItem(Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;ILnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Position;)V
-
playSound
- 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
-
spawnParticles
- Mappings:
Namespace Name Mixin selector official a
Lhy;a(Lgu;Lgy;)V
intermediary method_10133
Lnet/minecraft/class_2347;method_10133(Lnet/minecraft/class_2342;Lnet/minecraft/class_2350;)V
named spawnParticles
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;spawnParticles(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/util/math/Direction;)V
-