Uses of Interface
net.minecraft.core.BlockSource
Package
Description
-
Uses of BlockSource in net.minecraft.core
-
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_123385_, ItemStack p_123386_) protected ItemStack
ShearsDispenseItemBehavior.execute
(BlockSource p_123580_, ItemStack p_123581_) protected ItemStack
ShulkerBoxDispenseBehavior.execute
(BlockSource p_123587_, ItemStack p_123588_) 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_) static void
DispenseItemBehavior.setEntityPokingOutOfBlock
(BlockSource p_123396_, Entity p_123397_, Direction p_123398_) -
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.