2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_2965 net/minecraft/block/dispenser/ProjectileDispenserBehavior
|
2021-06-10 05:25:33 -04:00
|
|
|
COMMENT A dispenser behavior that spawns a projectile with velocity in front of the dispenser.
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_12844 createProjectile (Lnet/minecraft/class_1937;Lnet/minecraft/class_2374;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1676;
|
2021-06-10 05:25:33 -04:00
|
|
|
COMMENT Creates the entity that will be spawned in front of the dispenser.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return the created projectile
|
2020-03-25 17:49:17 -04:00
|
|
|
ARG 1 world
|
2021-06-10 05:25:33 -04:00
|
|
|
COMMENT the world the projectile will spawn in
|
2020-03-25 17:49:17 -04:00
|
|
|
ARG 2 position
|
2021-06-10 05:25:33 -04:00
|
|
|
COMMENT the output location of the dispenser
|
2020-03-25 17:49:17 -04:00
|
|
|
ARG 3 stack
|
2021-06-10 05:25:33 -04:00
|
|
|
COMMENT the stack that the dispenser will consume
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_12845 getVariation ()F
|
2021-06-10 05:25:33 -04:00
|
|
|
COMMENT {@return the variation of a projectile's velocity when spawned}
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_12846 getForce ()F
|
2021-06-10 05:25:33 -04:00
|
|
|
COMMENT {@return the force of a projectile's velocity when spawned}
|