Package net.minecraft.item
Interface ProjectileItem
- All Known Implementing Classes:
ArrowItem
,EggItem
,ExperienceBottleItem
,FireChargeItem
,FireworkRocketItem
,LingeringPotionItem
,SnowballItem
,SpectralArrowItem
,SplashPotionItem
,ThrowablePotionItem
,TippedArrowItem
,TridentItem
,WindChargeItem
public interface ProjectileItem
- Mappings:
Namespace Name named net/minecraft/item/ProjectileItem
intermediary net/minecraft/class_9463
official cvm
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static final record
-
Method Summary
Modifier and TypeMethodDescriptioncreateEntity
(World world, Position pos, ItemStack stack, Direction direction) default ProjectileItem.Settings
default void
initializeProjectile
(ProjectileEntity entity, double x, double y, double z, float power, float uncertainty)
-
Method Details
-
createEntity
- Mappings:
Namespace Name Mixin selector named createEntity
Lnet/minecraft/item/ProjectileItem;createEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Position;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/entity/projectile/ProjectileEntity;
intermediary method_58648
Lnet/minecraft/class_9463;method_58648(Lnet/minecraft/class_1937;Lnet/minecraft/class_2374;Lnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Lnet/minecraft/class_1676;
official a
Lcvm;a(Ldcw;Ljw;Lcuq;Lji;)Lcnp;
-
getProjectileSettings
- Mappings:
Namespace Name Mixin selector named getProjectileSettings
Lnet/minecraft/item/ProjectileItem;getProjectileSettings()Lnet/minecraft/item/ProjectileItem$Settings;
intermediary method_58653
Lnet/minecraft/class_9463;method_58653()Lnet/minecraft/class_9463$class_9464;
official c
Lcvm;c()Lcvm$a;
-
initializeProjectile
default void initializeProjectile(ProjectileEntity entity, double x, double y, double z, float power, float uncertainty) - Mappings:
Namespace Name Mixin selector named initializeProjectile
Lnet/minecraft/item/ProjectileItem;initializeProjectile(Lnet/minecraft/entity/projectile/ProjectileEntity;DDDFF)V
intermediary method_58654
Lnet/minecraft/class_9463;method_58654(Lnet/minecraft/class_1676;DDDFF)V
official a
Lcvm;a(Lcnp;DDDFF)V
-