Mineplex/GOD DAMN COSMETICS/gadget/gadgets/mount/SingleEntityMountData.java
Daniel Waggner 38a20f98c2 Removed Files
These two directories contain code that was removed from the src and dependencies of the compiled files. They were removed due to being either a. unnecessary or b. a royal pain in my booty.
2021-05-23 18:13:37 -07:00

32 lines
504 B
Java

package mineplex.core.gadget.gadgets.mount;
import java.util.Collections;
import java.util.List;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
public class SingleEntityMountData<T extends Entity> extends MountData
{
protected T Entity;
public SingleEntityMountData(Player player, T ent)
{
super(player);
Entity = ent;
}
@Override
public List<Entity> getEntityParts()
{
return Collections.singletonList(Entity);
}
public T getEntity()
{
return Entity;
}
}