24 lines
692 B
Java
24 lines
692 B
Java
![]() |
package ru.magistu.siegemachines.entity.projectile;
|
||
|
|
||
|
|
||
|
import com.mojang.math.Vector3d;
|
||
|
import net.minecraft.world.entity.EntityType;
|
||
|
import net.minecraft.world.entity.LivingEntity;
|
||
|
import net.minecraft.world.item.Item;
|
||
|
import net.minecraft.world.level.Level;
|
||
|
import ru.magistu.siegemachines.item.ModItems;
|
||
|
|
||
|
public class GiantStone extends Missile
|
||
|
{
|
||
|
public GiantStone(EntityType<GiantStone> entitytype, Level level)
|
||
|
{
|
||
|
super(entitytype, level);
|
||
|
this.item = ModItems.GIANT_STONE.get();
|
||
|
}
|
||
|
|
||
|
public GiantStone(EntityType<GiantStone> entitytype, Level level, Vector3d pos, LivingEntity entity, Item item)
|
||
|
{
|
||
|
super(entitytype, level, pos, entity, MissileType.GIANT_STONE, item);
|
||
|
}
|
||
|
}
|