4jcraft/targets/minecraft/world/entity/projectile/DragonFireball.h
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

44 lines
1 KiB
C++

#pragma once
#include <memory>
#include "Fireball.h"
#include "java/Class.h"
#include "minecraft/core/particles/ParticleTypes.h"
class HitResult;
class Entity;
class Level;
class LivingEntity;
class DragonFireball : public Fireball {
public:
eINSTANCEOF GetType() { return eTYPE_DRAGON_FIREBALL; }
static Entity* create(Level* level) { return new DragonFireball(level); }
public:
static const double SPLASH_RANGE;
private:
static const double SPLASH_RANGE_SQ;
public:
DragonFireball(Level* level);
DragonFireball(Level* level, std::shared_ptr<LivingEntity> mob, double xa,
double ya, double za);
DragonFireball(Level* level, double x, double y, double z, double xa,
double ya, double za);
protected:
virtual void onHit(HitResult* res);
public:
virtual bool isPickable();
virtual bool hurt(DamageSource* source, float damage);
protected:
// wlw yuri yuri
virtual ePARTICLE_TYPE getTrailParticleType();
virtual bool shouldBurn();
};