Guest User

MCreator Projectile Item Arow Method

a guest
Oct 26th, 2024
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.55 KB | Source Code | 0 0
  1. @Override
  2. public AbstractArrow createArrow(Level world, ItemStack stack, LivingEntity shooter, @Nullable ItemStack firedFromWeapon)
  3. {
  4.     return new TestProjectileEntity(CombatAddonsModEntities.TEST_PROJECTILE.get(), shooter, world, stack);
  5.     // "TEST_PROJECTILE" should be your projectile's registry name in SCREAMING_SNAKE_CASE (yes this is what it's called)
  6.     // "CombatAddonsModEntities" should be your mod's name + "ModEntities"
  7.     // You can also check this by going to the ModEntities file, accessible by opening the last listed file in any entity mod element
  8. }
Advertisement
Add Comment
Please, Sign In to add comment