Package net.minecraft.block.dispenser
Class ItemDispenserBehavior
java.lang.Object
net.minecraft.block.dispenser.ItemDispenserBehavior
- All Implemented Interfaces:
DispenserBehavior
- Direct Known Subclasses:
BoatDispenserBehavior
,EquippableDispenserBehavior
,FallibleItemDispenserBehavior
,MinecartDispenserBehavior
,ProjectileDispenserBehavior
- Mappings:
Namespace Name named net/minecraft/block/dispenser/ItemDispenserBehavior
intermediary net/minecraft/class_2347
official la
-
Field Summary
Fields inherited from interface net.minecraft.block.dispenser.DispenserBehavior
LOGGER, NOOP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addStackOrSpawn
(BlockPointer pointer, ItemStack stack) protected ItemStack
decrementStackWithRemainder
(BlockPointer pointer, ItemStack stack, ItemStack remainder) final 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) private static void
syncActivatesEvent
(BlockPointer pointer, Direction side) private static void
syncDispensesEvent
(BlockPointer pointer)
-
Field Details
-
field_51916
private static final int field_51916- See Also:
- Mappings:
Namespace Name Mixin selector named field_51916
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;field_51916:I
intermediary field_51916
Lnet/minecraft/class_2347;field_51916:I
official c
Lla;c:I
-
-
Constructor Details
-
ItemDispenserBehavior
public ItemDispenserBehavior()
-
-
Method Details
-
dispense
- Specified by:
dispense
in interfaceDispenserBehavior
- Mappings:
Namespace Name Mixin selector named dispense
Lnet/minecraft/block/dispenser/DispenserBehavior;dispense(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
intermediary dispense
Lnet/minecraft/class_2357;dispense(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
official dispense
Llb;dispense(Lky;Lcxo;)Lcxo;
-
dispenseSilently
- Mappings:
Namespace Name Mixin selector named dispenseSilently
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;dispenseSilently(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
intermediary method_10135
Lnet/minecraft/class_2347;method_10135(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
official a
Lla;a(Lky;Lcxo;)Lcxo;
-
spawnItem
- Mappings:
Namespace Name Mixin selector 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
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
official a
Lla;a(Ldhh;Lcxo;ILjm;Lka;)V
-
playSound
- 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
Lla;a(Lky;)V
-
spawnParticles
- Mappings:
Namespace Name Mixin selector named spawnParticles
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;spawnParticles(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/util/math/Direction;)V
intermediary method_10133
Lnet/minecraft/class_2347;method_10133(Lnet/minecraft/class_2342;Lnet/minecraft/class_2350;)V
official a
Lla;a(Lky;Ljm;)V
-
syncDispensesEvent
- Mappings:
Namespace Name Mixin selector named syncDispensesEvent
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;syncDispensesEvent(Lnet/minecraft/util/math/BlockPointer;)V
intermediary method_60578
Lnet/minecraft/class_2347;method_60578(Lnet/minecraft/class_2342;)V
official b
Lla;b(Lky;)V
-
syncActivatesEvent
- Mappings:
Namespace Name Mixin selector named syncActivatesEvent
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;syncActivatesEvent(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/util/math/Direction;)V
intermediary method_60580
Lnet/minecraft/class_2347;method_60580(Lnet/minecraft/class_2342;Lnet/minecraft/class_2350;)V
official b
Lla;b(Lky;Ljm;)V
-
decrementStackWithRemainder
protected ItemStack decrementStackWithRemainder(BlockPointer pointer, ItemStack stack, ItemStack remainder) - Mappings:
Namespace Name Mixin selector named decrementStackWithRemainder
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;decrementStackWithRemainder(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
intermediary method_60577
Lnet/minecraft/class_2347;method_60577(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
official a
Lla;a(Lky;Lcxo;Lcxo;)Lcxo;
-
addStackOrSpawn
- Mappings:
Namespace Name Mixin selector named addStackOrSpawn
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;addStackOrSpawn(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)V
intermediary method_60579
Lnet/minecraft/class_2347;method_60579(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;)V
official b
Lla;b(Lky;Lcxo;)V
-