net.minecraft.core.dispenser

public class DefaultDispenseItemBehavior

implements DispenseItemBehavior

kw
net.minecraft.core.dispenser.DefaultDispenseItemBehavior
net.minecraft.class_2347
net.minecraft.block.dispenser.ItemDispenserBehavior
net.minecraft.src.C_4717_
net.minecraft.core.dispenser.DispenseBehaviorItem

Field summary

Modifier and TypeField
private static final int
c
DEFAULT_ACCURACY
field_51916
field_51916
f_337058_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public final ItemStack
dispense(ku arg0, cuq arg1)
dispense(BlockSource arg0, ItemStack arg1)
dispense(class_2342 arg0, class_1799 arg1)
dispense(BlockPointer arg0, ItemStack arg1)
m_6115_(C_301780_ p_123392_, C_1391_ arg1)
protected ItemStack
a(ku arg0, cuq arg1)
execute(BlockSource arg0, ItemStack arg1)
method_10135(class_2342 arg0, class_1799 arg1)
dispenseSilently(BlockPointer pointer, ItemStack stack)
m_7498_(C_301780_ p_123386_, C_1391_ arg1)
public static void
a(dcw arg0, cuq arg1, int arg2, ji arg3, jw arg4)
spawnItem(Level arg0, ItemStack arg1, int arg2, Direction arg3, Position arg4)
method_10134(class_1937 arg0, class_1799 arg1, int arg2, class_2350 arg3, class_2374 arg4)
spawnItem(World world, ItemStack stack, int speed, Direction side, Position pos)
m_123378_(C_1596_ p_123379_, C_1391_ p_123380_, int p_123381_, C_4687_ p_123382_, C_4703_ p_123383_)
protected void
a(ku arg0)
playSound(BlockSource arg0)
method_10136(class_2342 arg0)
playSound(BlockPointer pointer)
m_6823_(C_301780_ arg0)
protected void
a(ku arg0, ji arg1)
playAnimation(BlockSource arg0, Direction arg1)
method_10133(class_2342 arg0, class_2350 arg1)
spawnParticles(BlockPointer pointer, Direction side)
m_123387_(C_301780_ p_123389_, C_4687_ arg1)
private static void
b(ku arg0)
playDefaultSound(BlockSource arg0)
method_60578(class_2342 arg0)
syncDispensesEvent(BlockPointer pointer)
m_340140_(C_301780_ p_343539_)
private static void
b(ku arg0, ji arg1)
playDefaultAnimation(BlockSource arg0, Direction arg1)
method_60580(class_2342 arg0, class_2350 arg1)
syncActivatesEvent(BlockPointer pointer, Direction side)
m_338579_(C_301780_ p_342920_, C_4687_ p_343526_)
protected ItemStack
a(ku arg0, cuq arg1, cuq arg2)
consumeWithRemainder(BlockSource arg0, ItemStack arg1, ItemStack arg2)
method_60577(class_2342 arg0, class_1799 arg1, class_1799 arg2)
decrementStackWithRemainder(BlockPointer pointer, ItemStack stack, ItemStack remainder)
m_338981_(C_301780_ p_343730_, C_1391_ p_344011_, C_1391_ arg2)
private void
b(ku arg0, cuq arg1)
addToInventoryOrDispense(BlockSource arg0, ItemStack arg1)
method_60579(class_2342 arg0, class_1799 arg1)
addStackOrSpawn(BlockPointer pointer, ItemStack stack)
m_340150_(C_301780_ p_344816_, C_1391_ arg1)