Makes arrow physics more realistic when shooting while moving. Normally, when you shoot an arrow, it starts with the same speed no matter how fast you’re moving, meaning that its velocity relative to the player is different depending on how fast the player is moving! Really bad physics. This plugin makes it so your velocity is factored into the arrow’s velocity when you shoot, just like how it is in real life.
Examples:
- You’re falling from y = 9000 and shooting arrows straight down. Normally, they’d fly right into you or go above you. With this plugin, they’ll go straight down ahead of you.
- You’re on a horse, minecart, or boat, shooting arrows ahead of you. Normally, you could be hit by your own arrow very easily. With this plugin, that will not happen; the arrow will fly in front of you like it should.
Installation and Configuration:
- Be careful that you don’t have plugins that could conflict with this. This plugin’s event handler should fire last, but if another plugin that deals with arrow velocity also takes highest priority, it could cause problems.
- Place the plugin in your plugins folder; reload.
- No configuration.
Commands and Permissions:
- None.
- None.
Bug Reports:
- Leave a comment below if you find plugins that conflict with mine.
- Leave a comment below if there are any bugs I should know about.
Source and Contact
- You can email me at morshu9001@icloud.com. The source code for the only event listener is below; it’s very simple:
public class RAFireEventHandler implements Listener { @EventHandler(priority = EventPriority.HIGHEST) public void bowShot (EntityShootBowEvent evt){ if (evt.isCancelled()){ return; } evt.getProjectile().setVelocity(evt.getProjectile().getVelocity().add(evt.getEntity().getVelocity())); }}
RealArrows Plugin 1.7.2 Download Links
http://www.dl2.9minecraft.net/index.php?act=dl&id=1390444038
http://www.dl5.9minecraft.net/index.php?act=dl&id=1390470345
Không có nhận xét nào:
Đăng nhận xét