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_302432_, ItemStack p_123392_) DispenseItemBehavior.dispense
(BlockSource p_302445_, ItemStack p_123404_) AbstractProjectileDispenseBehavior.execute
(BlockSource p_302427_, ItemStack p_123367_) BoatDispenseItemBehavior.execute
(BlockSource p_302460_, ItemStack p_123376_) protected ItemStack
DefaultDispenseItemBehavior.execute
(BlockSource p_302420_, ItemStack p_123386_) protected ItemStack
ShearsDispenseItemBehavior.execute
(BlockSource p_302443_, ItemStack p_123581_) protected ItemStack
ShulkerBoxDispenseBehavior.execute
(BlockSource p_302426_, ItemStack p_123588_) static Vec3
DispenseItemBehavior.getEntityPokingOutOfBlockPos
(BlockSource p_302467_, EntityType<?> p_302422_, Direction p_302439_) protected void
DefaultDispenseItemBehavior.playAnimation
(BlockSource p_302462_, Direction p_123389_) protected void
AbstractProjectileDispenseBehavior.playSound
(BlockSource p_302441_) protected void
BoatDispenseItemBehavior.playSound
(BlockSource p_302465_) protected void
DefaultDispenseItemBehavior.playSound
(BlockSource p_302471_) protected void
OptionalDispenseItemBehavior.playSound
(BlockSource p_302438_) -
Uses of BlockSource in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic boolean
ArmorItem.dispenseArmor
(BlockSource p_302421_, ItemStack p_40400_) -
Uses of BlockSource in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionstatic Position
DispenserBlock.getDispensePosition
(BlockSource p_302440_) -
Uses of BlockSource in net.neoforged.neoforge.fluids
Modifier and TypeMethodDescriptionprivate ItemStack
DispenseFluidContainer.dumpContainer
(BlockSource source, ItemStack stack) Drains a filled container and places the fluid in front of the Dispenser.DispenseFluidContainer.execute
(BlockSource source, ItemStack stack) private ItemStack
DispenseFluidContainer.fillContainer
(BlockSource source, ItemStack stack) Picks up fluid in front of a Dispenser and fills a container with it.