PredictedProjectile class
Пакет: com.hypixel.hytale.server.core.modules.projectile.component
Файл: com/hypixel/hytale/server/core/modules/projectile/component/PredictedProjectile.java
implements: Component<EntityStore>
Исходный код
Показать/скрыть
class="kw">package com.hypixel.hytale.server.core.modules.projectile.component;
class="kw">import com.hypixel.hytale.component.Component;
class="kw">import com.hypixel.hytale.component.ComponentType;
class="kw">import com.hypixel.hytale.server.core.modules.projectile.ProjectileModule;
class="kw">import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
class="kw">import java.util.UUID;
class="kw">import javax.annotation.Nonnull;
class="kw">public class PredictedProjectile class="kw">implements Component<EntityStore> {
@Nonnull
class="kw">private class="kw">final UUID uuid;
@Nonnull
class="kw">public class="kw">static ComponentType<EntityStore, PredictedProjectile> getComponentType() {
class="kw">return ProjectileModule.get().getPredictedProjectileComponentType();
}
class="kw">public PredictedProjectile(@Nonnull UUID var1) {
this.uuid = var1;
}
@Nonnull
class="kw">public UUID getUuid() {
class="kw">return this.uuid;
}
@Nonnull
@Override
class="kw">public Component<EntityStore> clone() {
class="kw">return this;
}
}