Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class DefaultStaffCapability implements IStaff {
- Entity projectile;
- SoundEvent cast;
- SoundEvent empty;
- @Override
- public Entity setGetEntity(LivingEntity shooter, ItemStack stack) { return this.projectile; }
- @Override
- public void castSound(SoundEvent castSound) { this.cast = castSound; }
- @Nullable
- @Override
- public SoundEvent getCastSound() { return this.cast; }
- @Override
- public void emptySound(SoundEvent emptySound) { this.empty = emptySound; }
- @Nullable
- @Override
- public SoundEvent getEmptySound() { return this.empty; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement