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_) BoatDispenseItemBehavior.execute
(BlockSource p_302460_, ItemStack p_123376_) protected ItemStack
DefaultDispenseItemBehavior.execute
(BlockSource p_302420_, ItemStack p_123386_) ProjectileDispenseBehavior.execute
(BlockSource p_338635_, ItemStack p_338423_) protected ItemStack
ShearsDispenseItemBehavior.execute
(BlockSource p_302443_, ItemStack p_123581_) protected ItemStack
ShulkerBoxDispenseBehavior.execute
(BlockSource p_302426_, ItemStack p_123588_) protected void
DefaultDispenseItemBehavior.playAnimation
(BlockSource p_302462_, Direction p_123389_) protected void
BoatDispenseItemBehavior.playSound
(BlockSource p_302465_) protected void
DefaultDispenseItemBehavior.playSound
(BlockSource p_302471_) protected void
OptionalDispenseItemBehavior.playSound
(BlockSource p_302438_) protected void
ProjectileDispenseBehavior.playSound
(BlockSource p_338184_) -
Uses of BlockSource in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic boolean
ArmorItem.dispenseArmor
(BlockSource p_302421_, ItemStack p_40400_) ProjectileItem.PositionFunction.getDispensePosition
(BlockSource p_338784_, Direction p_338422_) private static Vec3
FireworkRocketItem.getEntityPokingOutOfBlockPos
(BlockSource p_338806_, Direction p_338706_) -
Uses of BlockSource in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionstatic Position
DispenserBlock.getDispensePosition
(BlockSource p_302440_) static Position
DispenserBlock.getDispensePosition
(BlockSource p_338419_, double p_338633_, Vec3 p_338798_) -
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.