Package net.minecraft.block.dispenser
Class ProjectileDispenserBehavior
java.lang.Object
net.minecraft.block.dispenser.ItemDispenserBehavior
net.minecraft.block.dispenser.ProjectileDispenserBehavior
- All Implemented Interfaces:
DispenserBehavior
public abstract class ProjectileDispenserBehavior extends ItemDispenserBehavior
- Mappings:
Namespace Name official gv
intermediary net/minecraft/class_2965
named net/minecraft/block/dispenser/ProjectileDispenserBehavior
-
Field Summary
Fields inherited from interface net.minecraft.block.dispenser.DispenserBehavior
NOOP
-
Constructor Summary
Constructors Constructor Description ProjectileDispenserBehavior()
-
Method Summary
Modifier and Type Method Description protected abstract ProjectileEntity
createProjectile(World world, Position position, ItemStack stack)
ItemStack
dispenseSilently(BlockPointer pointer, ItemStack stack)
protected float
getForce()
protected float
getVariation()
protected void
playSound(BlockPointer pointer)
Methods inherited from class net.minecraft.block.dispenser.ItemDispenserBehavior
dispense, spawnItem, spawnParticles
-
Constructor Details
-
ProjectileDispenserBehavior
public ProjectileDispenserBehavior()
-
-
Method Details
-
dispenseSilently
- Overrides:
dispenseSilently
in classItemDispenserBehavior
- Mappings:
Namespace Name Mixin selector official a
Lgx;a(Lfy;Lbnv;)Lbnv;
intermediary method_10135
Lnet/minecraft/class_2347;method_10135(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
named dispenseSilently
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;dispenseSilently(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
playSound
- Overrides:
playSound
in classItemDispenserBehavior
- Mappings:
Namespace Name Mixin selector official a
Lgx;a(Lfy;)V
intermediary method_10136
Lnet/minecraft/class_2347;method_10136(Lnet/minecraft/class_2342;)V
named playSound
Lnet/minecraft/block/dispenser/ItemDispenserBehavior;playSound(Lnet/minecraft/util/math/BlockPointer;)V
-
createProjectile
protected abstract ProjectileEntity createProjectile(World world, Position position, ItemStack stack)- Mappings:
Namespace Name Mixin selector official a
Lgv;a(Lbtv;Lgk;Lbnv;)Lbib;
intermediary method_12844
Lnet/minecraft/class_2965;method_12844(Lnet/minecraft/class_1937;Lnet/minecraft/class_2374;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1676;
named createProjectile
Lnet/minecraft/block/dispenser/ProjectileDispenserBehavior;createProjectile(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Position;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/entity/projectile/ProjectileEntity;
-
getVariation
protected float getVariation()- Mappings:
Namespace Name Mixin selector official a
Lgv;a()F
intermediary method_12845
Lnet/minecraft/class_2965;method_12845()F
named getVariation
Lnet/minecraft/block/dispenser/ProjectileDispenserBehavior;getVariation()F
-
getForce
protected float getForce()- Mappings:
Namespace Name Mixin selector official b
Lgv;b()F
intermediary method_12846
Lnet/minecraft/class_2965;method_12846()F
named getForce
Lnet/minecraft/block/dispenser/ProjectileDispenserBehavior;getForce()F
-