Uses of Record Class
net.minecraft.core.dispenser.BlockSource
Packages that use BlockSource
Package
Description
-
Uses of BlockSource in net.minecraft.core.dispenser
Methods in net.minecraft.core.dispenser with parameters of type BlockSourceModifier and TypeMethodDescriptionfinal ItemStackDefaultDispenseItemBehavior.dispense(BlockSource p_302432_, ItemStack p_123392_) DispenseItemBehavior.dispense(BlockSource p_302445_, ItemStack p_123404_) BoatDispenseItemBehavior.execute(BlockSource p_302460_, ItemStack p_123376_) protected ItemStackDefaultDispenseItemBehavior.execute(BlockSource p_302420_, ItemStack p_123386_) ProjectileDispenseBehavior.execute(BlockSource p_338635_, ItemStack p_338423_) protected ItemStackShearsDispenseItemBehavior.execute(BlockSource p_302443_, ItemStack p_123581_) protected ItemStackShulkerBoxDispenseBehavior.execute(BlockSource p_302426_, ItemStack p_123588_) protected voidDefaultDispenseItemBehavior.playAnimation(BlockSource p_302462_, Direction p_123389_) protected voidBoatDispenseItemBehavior.playSound(BlockSource p_302465_) protected voidDefaultDispenseItemBehavior.playSound(BlockSource p_302471_) protected voidOptionalDispenseItemBehavior.playSound(BlockSource p_302438_) protected voidProjectileDispenseBehavior.playSound(BlockSource p_338184_) -
Uses of BlockSource in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type BlockSourceModifier and TypeMethodDescriptionstatic booleanArmorItem.dispenseArmor(BlockSource p_302421_, ItemStack p_40400_) ProjectileItem.PositionFunction.getDispensePosition(BlockSource p_338784_, Direction p_338422_) private static Vec3FireworkRocketItem.getEntityPokingOutOfBlockPos(BlockSource p_338806_, Direction p_338706_) -
Uses of BlockSource in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type BlockSourceModifier and TypeMethodDescriptionstatic PositionDispenserBlock.getDispensePosition(BlockSource p_302440_) static PositionDispenserBlock.getDispensePosition(BlockSource p_338419_, double p_338633_, Vec3 p_338798_) -
Uses of BlockSource in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type BlockSourceModifier and TypeMethodDescriptionprivate ItemStackDispenseFluidContainer.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 ItemStackDispenseFluidContainer.fillContainer(BlockSource source, ItemStack stack) Picks up fluid in front of a Dispenser and fills a container with it.