/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-Server/src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java
package org.bukkit.craftbukkit.entity;

import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.LargeFireball;

import net.minecraft.server.EntityLargeFireball;

public class CraftLargeFireball extends CraftFireball implements LargeFireball {
	public CraftLargeFireball(CraftServer server, EntityLargeFireball entity) {
		super(server, entity);
	}

	@Override
	public void setYield(float yield) {
		super.setYield(yield);
		getHandle().yield = (int) yield;
	}

	@Override
	public EntityLargeFireball getHandle() {
		return (EntityLargeFireball) entity;
	}

	@Override
	public String toString() {
		return "CraftLargeFireball";
	}

	@Override
	public EntityType getType() {
		return EntityType.FIREBALL;
	}
}
