mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
First merging of weaponry into tinkers
This commit is contained in:
1 parent
6e1ea0e736
commit
73b25d19f0
191 files changed
+5325
-1
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package boni.tinkersweaponry.entity;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class BoltEntity extends ArrowEntity {
|
||||
public BoltEntity(World world) {
|
||||
super(world);
|
||||
this.setSize(0.3f, 0.3f);
|
||||
}
|
||||
|
||||
public BoltEntity(World world, double d, double d1, double d2) {
|
||||
super(world, d, d1, d2);
|
||||
this.setSize(0.3f, 0.3f);
|
||||
}
|
||||
|
||||
public BoltEntity(World world, EntityPlayer player, float speed, float accuracy, ItemStack stack) {
|
||||
super(world, player, speed, accuracy, stack);
|
||||
this.setSize(0.3f, 0.3f);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void playHitBlockSound(int x, int y, int z) {
|
||||
this.playSound("random.bowhit", 1.0F, 1.0F);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user