4jcraft/targets/minecraft/world/entity/ai/attributes/BaseAttribute.h
2026-04-01 13:27:58 -05:00

20 lines
460 B
C++

#pragma once
#include "Attribute.h"
#include "minecraft/world/entity/ai/attributes/Attribute.h"
class BaseAttribute : public Attribute {
private:
eATTRIBUTE_ID id;
double defaultValue;
bool syncable;
protected:
BaseAttribute(eATTRIBUTE_ID id, double defaultValue);
public:
virtual eATTRIBUTE_ID getId();
virtual double getDefaultValue();
virtual bool isClientSyncable();
virtual BaseAttribute* setSyncable(bool syncable);
};