Advertisement
Guest User

Untitled

a guest
Aug 20th, 2021
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.61 KB | None | 0 0
  1. public class DefaultStaffCapability implements IStaff {
  2.  
  3.     Entity projectile;
  4.     SoundEvent cast;
  5.     SoundEvent empty;
  6.  
  7.     @Override
  8.     public Entity setGetEntity(LivingEntity shooter, ItemStack stack) { return this.projectile; }
  9.  
  10.     @Override
  11.     public void castSound(SoundEvent castSound) { this.cast = castSound; }
  12.  
  13.     @Nullable
  14.     @Override
  15.     public SoundEvent getCastSound() { return this.cast; }
  16.  
  17.     @Override
  18.     public void emptySound(SoundEvent emptySound) { this.empty = emptySound; }
  19.  
  20.     @Nullable
  21.     @Override
  22.     public SoundEvent getEmptySound() { return this.empty; }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement