Uses of Record Class
net.minecraft.core.dispenser.BlockSource
Package
Description
-
Uses of BlockSource in net.minecraft.core.dispenser
Modifier and TypeMethodDescriptionfinal ItemStack
DefaultDispenseItemBehavior.dispense
(BlockSource p_123391_, ItemStack p_123392_) DispenseItemBehavior.dispense
(BlockSource p_123403_, ItemStack p_123404_) AbstractProjectileDispenseBehavior.execute
(BlockSource p_123366_, ItemStack p_123367_) BoatDispenseItemBehavior.execute
(BlockSource p_123375_, ItemStack p_123376_) protected ItemStack
DefaultDispenseItemBehavior.execute
(BlockSource p_301824_, ItemStack p_123386_) protected ItemStack
ShearsDispenseItemBehavior.execute
(BlockSource p_301806_, ItemStack p_123581_) protected ItemStack
ShulkerBoxDispenseBehavior.execute
(BlockSource p_123587_, ItemStack p_123588_) static Vec3
DispenseItemBehavior.getEntityPokingOutOfBlockPos
(BlockSource p_301823_, EntityType<?> p_301844_, Direction p_301805_) protected void
DefaultDispenseItemBehavior.playAnimation
(BlockSource p_123388_, Direction p_123389_) protected void
AbstractProjectileDispenseBehavior.playSound
(BlockSource p_123364_) protected void
BoatDispenseItemBehavior.playSound
(BlockSource p_123373_) protected void
DefaultDispenseItemBehavior.playSound
(BlockSource p_123384_) protected void
OptionalDispenseItemBehavior.playSound
(BlockSource p_123572_) -
Uses of BlockSource in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic boolean
ArmorItem.dispenseArmor
(BlockSource p_40399_, ItemStack p_40400_) -
Uses of BlockSource in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionstatic Position
DispenserBlock.getDispensePosition
(BlockSource p_52721_) -
Uses of BlockSource in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionprivate @NotNull ItemStack
DispenseFluidContainer.dumpContainer
(BlockSource source, @NotNull ItemStack stack) Drains a filled container and places the fluid in front of the Dispenser.@NotNull ItemStack
DispenseFluidContainer.execute
(@NotNull BlockSource source, @NotNull ItemStack stack) private @NotNull ItemStack
DispenseFluidContainer.fillContainer
(@NotNull BlockSource source, @NotNull ItemStack stack) Picks up fluid in front of a Dispenser and fills a container with it.