Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.arctic.paperArmor.entities;
- import net.minecraft.entity.Entity;
- import net.minecraft.entity.IProjectile;
- import net.minecraft.nbt.NBTTagCompound;
- import net.minecraft.world.World;
- public class EntityRocket extends Entity implements IProjectile{
- public EntityRocket(World world) {super(world);}
- public EntityRocket(World world, double x, double y, double z){
- super(world);
- this.setPosition(x,y,z);
- }
- @Override protected void entityInit() {}
- @Override protected void readEntityFromNBT(NBTTagCompound tag) {}
- @Override protected void writeEntityToNBT(NBTTagCompound tag) {}
- @Override
- public void setThrowableHeading(double x, double y, double z, float f1, float f2) {
- this.motionX = x;
- this.motionY = y;
- this.motionZ = z;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement