Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package eu.tetrabyte.contentmod.entity;
- import net.minecraft.entity.Entity;
- import net.minecraft.nbt.NBTTagCompound;
- import net.minecraft.util.BlockPos;
- import net.minecraft.world.World;
- import net.minecraftforge.fml.relauncher.Side;
- import net.minecraftforge.fml.relauncher.SideOnly;
- public class EntityBus extends Entity {
- private double motionX;
- private double motionY;
- private double motionZ;
- private double busX;
- private double busY;
- private double busZ;
- private double busYaw;
- private double busPitch;
- @SideOnly(Side.CLIENT)
- private double velocityX;
- @SideOnly(Side.CLIENT)
- private double velocityY;
- @SideOnly(Side.CLIENT)
- private double velocityZ;
- public EntityBus(World worldIn, BlockPos pos, float yaw) {
- super(worldIn);
- this.setPosition(pos.getX(), pos.getY() +1.0D, pos.getZ());
- //this.setPosition(pos.getX(), pos.getY(), pos.getZ());
- }
- @Override
- protected void entityInit() {
- // TODO Auto-generated method stub
- }
- @Override
- protected void readEntityFromNBT(NBTTagCompound tagCompund) {
- // TODO Auto-generated method stub
- }
- @Override
- protected void writeEntityToNBT(NBTTagCompound tagCompound) {
- // TODO Auto-generated method stub
- }
- @Override
- public void onUpdate() {
- // TODO Auto-generated method stub
- //this.kill();
- this.setAlwaysRenderNameTag(true);
- super.onUpdate();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment