mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +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,25 @@
|
||||
package boni.tinkersweaponry.entity;
|
||||
|
||||
import boni.tinkersweaponry.TinkerWeaponry;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class ThrowingKnifeEntity extends ProjectileBase {
|
||||
public ThrowingKnifeEntity(World world) {
|
||||
super(world);
|
||||
}
|
||||
|
||||
public ThrowingKnifeEntity(World world, double d, double d1, double d2) {
|
||||
super(world, d, d1, d2);
|
||||
}
|
||||
|
||||
public ThrowingKnifeEntity(World world, EntityPlayer player, float speed, float accuracy, ItemStack stack) {
|
||||
super(world, player, speed, accuracy, stack);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected double getStuckDepth() {
|
||||
return 0.3d + TinkerWeaponry.random.nextDouble();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user