All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.craftbukkit.entity.CraftWeather Maven / Gradle / Ivy

package org.bukkit.craftbukkit.entity;

import net.minecraft.server.EntityWeather;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Weather;

public class CraftWeather extends CraftEntity implements Weather {
  public CraftWeather(final CraftServer server, final EntityWeather entity) {
    super(server, entity);
  }

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

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

  public EntityType getType() {
    return EntityType.WEATHER;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy