|
Botcraft 26.3
|
#include <Entity.hpp>
Public Member Functions | |
| Entity () | |
| virtual | ~Entity () |
| virtual std::string | GetName () const =0 |
| virtual EntityType | GetType () const =0 |
| AABB | GetCollider () const |
| double | GetWidth () const |
| double | GetHeight () const |
| void | LoadMetadataFromRawArray (const std::vector< unsigned char > &data) |
| char | GetDataSharedFlagsId () const |
| bool | GetDataSharedFlagsId (const EntitySharedFlagsId id) const |
| int | GetDataAirSupplyId () const |
| std::optional< ProtocolCraft::Chat > | GetDataCustomName () const |
| bool | GetDataCustomNameVisible () const |
| bool | GetDataSilent () const |
| bool | GetDataNoGravity () const |
| Pose | GetDataPose () const |
| int | GetDataTicksFrozen () const |
| void | SetDataSharedFlagsId (const char data_shared_flags_id) |
| void | SetDataSharedFlagsId (const EntitySharedFlagsId id, const bool b) |
| void | SetDataAirSupplyId (const int data_air_supply_id) |
| void | SetDataCustomName (const std::optional< ProtocolCraft::Chat > &data_custom_name) |
| void | SetDataCustomNameVisible (const bool data_custom_name_visible) |
| void | SetDataSilent (const bool data_silent) |
| void | SetDataNoGravity (const bool data_no_gravity) |
| void | SetDataPose (const Pose data_pose) |
| void | SetDataTicksFrozen (const int data_ticks_frozen) |
| int | GetEntityID () const |
| ProtocolCraft::UUID | GetUUID () const |
| Vector3< double > | GetPosition () const |
| double | GetX () const |
| double | GetY () const |
| double | GetZ () const |
| float | GetYaw () const |
| float | GetPitch () const |
| Vector3< double > | GetSpeed () const |
| double | GetSpeedX () const |
| double | GetSpeedY () const |
| double | GetSpeedZ () const |
| bool | GetOnGround () const |
| std::map< EquipmentSlot, ProtocolCraft::Slot > | GetEquipments () const |
| ProtocolCraft::Slot | GetEquipment (const EquipmentSlot slot) const |
| std::vector< EntityEffect > | GetEffects () const |
| std::vector< Renderer::Face > | GetFaces (const bool reset_uptodate_status) |
| bool | GetAreRenderedFacesUpToDate () const |
| void | SetEntityID (const int entity_id_) |
| void | SetUUID (const ProtocolCraft::UUID &uuid_) |
| virtual void | SetPosition (const Vector3< double > &position_) |
| virtual void | SetX (const double x_) |
| virtual void | SetY (const double y_) |
| virtual void | SetZ (const double z_) |
| virtual void | SetYaw (const float yaw_) |
| virtual void | SetPitch (const float pitch_) |
| void | AddSpeed (const Vector3< double > &delta) |
| void | SetSpeed (const Vector3< double > &speed_) |
| void | SetSpeedX (const double speed_x_) |
| void | SetSpeedY (const double speed_y_) |
| void | SetSpeedZ (const double speed_z_) |
| void | SetOnGround (const bool on_ground_) |
| void | SetEquipment (const EquipmentSlot slot, const ProtocolCraft::Slot &item) |
| void | SetEffects (const std::vector< EntityEffect > &effects_) |
| void | AddEffect (const EntityEffect &effect) |
| void | RemoveEffect (const EntityEffectType type) |
| void | SetAreRenderedFacesUpToDate (const bool are_rendered_faces_up_to_date_) |
| virtual ProtocolCraft::Json::Value | Serialize () const |
| virtual bool | IsLocalPlayer () const |
| virtual bool | IsRemotePlayer () const |
| virtual bool | IsLivingEntity () const |
| virtual bool | IsAbstractArrow () const |
| virtual bool | IsAnimal () const |
| virtual bool | IsAmbientCreature () const |
| virtual bool | IsMonster () const |
| virtual bool | IsDisplay () const |
| virtual bool | IsVehicle () const |
| virtual bool | IsTamableAnimal () const |
| virtual bool | IsAbstractSchoolingFish () const |
| virtual bool | IsWaterAnimal () const |
| virtual bool | IsAbstractChestedHorse () const |
| virtual bool | IsAbstractHurtingProjectile () const |
| virtual bool | IsMob () const |
| virtual bool | IsSpellcasterIllager () const |
| virtual bool | IsProjectile () const |
| virtual bool | IsAbstractHorse () const |
| virtual bool | IsAbstractGolem () const |
| virtual bool | IsHangingEntity () const |
| virtual bool | IsFireball () const |
| virtual bool | IsAbstractMinecart () const |
| virtual bool | IsAbstractCow () const |
| virtual bool | IsAbstractMinecartContainer () const |
| virtual bool | IsShoulderRidingEntity () const |
| virtual bool | IsAbstractPiglin () const |
| virtual bool | IsAbstractIllager () const |
| virtual bool | IsAbstractThrownPotion () const |
| virtual bool | IsAbstractFish () const |
| virtual bool | IsRaider () const |
| virtual bool | IsAbstractSkeleton () const |
| virtual bool | IsThrowableItemProjectile () const |
| virtual bool | IsAbstractVillager () const |
| virtual bool | IsAgeableMob () const |
| virtual bool | IsPathfinderMob () const |
| virtual bool | IsPatrollingMonster () const |
| virtual bool | IsThrowableProjectile () const |
| virtual bool | IsAbstractWindCharge () const |
| virtual bool | IsBlockAttachedEntity () const |
| virtual bool | IsAbstractBoat () const |
| virtual bool | IsAbstractChestBoat () const |
| virtual bool | IsAgeableWaterCreature () const |
| virtual bool | IsBoat () const |
| virtual bool | IsChestBoat () const |
| virtual bool | IsChestRaft () const |
| virtual bool | IsRaft () const |
| virtual bool | IsAvatar () const |
| virtual bool | IsAbstractNautilus () const |
| virtual bool | IsAbstractCubeMob () const |
Static Public Member Functions | |
| static std::shared_ptr< Entity > | CreateEntity (const EntityType type) |
Protected Member Functions | |
| template<typename T > | |
| T | GetMetadataImpl (const int index) const |
| template<typename T > | |
| T | GetMetadata (const int index) const |
| void | SetMetadataImpl (const int index, const std::any &value) |
| void | SetMetadata (const int index, const std::any &value) |
| virtual void | OnMetadataChangedImpl (const int index) |
| virtual void | InitializeFaces () |
| void | OnSizeUpdated () |
| char | GetDataSharedFlagsIdImpl () const |
| bool | GetDataSharedFlagsIdImpl (const EntitySharedFlagsId id) const |
| void | SetDataSharedFlagsIdImpl (const char data_shared_flags_id) |
| void | SetDataSharedFlagsIdImpl (const EntitySharedFlagsId id, const bool b) |
| Pose | GetDataPoseImpl () const |
| void | SetDataPoseImpl (const Pose data_pose) |
| AABB | GetColliderImpl () const |
| virtual double | GetWidthImpl () const |
| virtual double | GetHeightImpl () const |
Static Protected Member Functions | |
| template<size_t N> | |
| static constexpr int | FindMetadataIndex (const std::array< std::string_view, N > &names, const std::string_view name) |
Protected Attributes | |
| std::shared_mutex | entity_mutex |
| int | entity_id |
| ProtocolCraft::UUID | uuid |
| Vector3< double > | position |
| float | yaw |
| float | pitch |
| Vector3< double > | speed |
| bool | on_ground |
| std::map< EquipmentSlot, ProtocolCraft::Slot > | equipments |
| Items on this entity. | |
| std::vector< EntityEffect > | effects |
| std::vector< std::any > | metadata |
| std::vector< FaceDescriptor > | face_descriptors |
| std::vector< Renderer::Face > | faces |
| bool | are_rendered_faces_up_to_date |
Static Protected Attributes | |
| static constexpr int | metadata_count = static_cast<int>(metadata_names.size()) |
| static constexpr int | hierarchy_metadata_count = 0 |
Static Private Attributes | |
| static constexpr std::array | metadata_names |
Definition at line 54 of file Entity.hpp.
| Botcraft::Entity::Entity | ( | ) |
Definition at line 284 of file Entity.cpp.
References Botcraft::BodyAnimalArmor, Botcraft::Boots, Botcraft::ChestPlate, entity_id, entity_mutex, equipments, Botcraft::Helmet, hierarchy_metadata_count, Botcraft::Leggings, Botcraft::MainHand, metadata, metadata_count, Botcraft::OffHand, on_ground, pitch, position, Botcraft::Saddle, SetDataAirSupplyId(), SetDataSharedFlagsId(), speed, and yaw.
|
virtual |
Definition at line 331 of file Entity.cpp.
| void Botcraft::Entity::AddEffect | ( | const EntityEffect & | effect | ) |
Definition at line 1200 of file Entity.cpp.
References effects, entity_mutex, and Botcraft::EntityEffect::type.
| void Botcraft::Entity::AddSpeed | ( | const Vector3< double > & | delta | ) |
Definition at line 1152 of file Entity.cpp.
References entity_mutex, and speed.
|
static |
Definition at line 1571 of file Entity.cpp.
References Botcraft::AcaciaBoat, Botcraft::AcaciaChestBoat, Botcraft::Allay, Botcraft::AreaEffectCloud, Botcraft::Armadillo, Botcraft::ArmorStand, Botcraft::Arrow, Botcraft::Axolotl, Botcraft::Bat, Botcraft::Bee, Botcraft::BirchBoat, Botcraft::BirchChestBoat, Botcraft::Blaze, Botcraft::Bogged, Botcraft::Breeze, Botcraft::BreezeWindCharge, Botcraft::Camel, Botcraft::CamelHusk, Botcraft::Cat, Botcraft::CaveSpider, Botcraft::CherryBoat, Botcraft::CherryChestBoat, Botcraft::ChestRaft, Botcraft::Chicken, Botcraft::Cod, Botcraft::CopperGolem, Botcraft::Cow, Botcraft::Creaking, Botcraft::Creeper, Botcraft::Cushion, Botcraft::DarkOakBoat, Botcraft::DarkOakChestBoat, Botcraft::DisplayBlockDisplay, Botcraft::DisplayItemDisplay, Botcraft::DisplayTextDisplay, Botcraft::Dolphin, Botcraft::Donkey, Botcraft::DragonFireball, Botcraft::Drowned, Botcraft::ElderGuardian, Botcraft::EndCrystal, Botcraft::EnderDragon, Botcraft::EnderMan, Botcraft::Endermite, Botcraft::Evoker, Botcraft::EvokerFangs, Botcraft::ExperienceOrb, Botcraft::EyeOfEnder, Botcraft::FallingBlockEntity, Botcraft::FireworkRocketEntity, Botcraft::FishingHook, Botcraft::Fox, Botcraft::Frog, Botcraft::Ghast, Botcraft::Giant, Botcraft::GlowItemFrame, Botcraft::GlowSquid, Botcraft::Goat, Botcraft::Guardian, Botcraft::HappyGhast, Botcraft::Hoglin, Botcraft::Horse, Botcraft::Husk, Botcraft::Illusioner, Botcraft::Interaction, Botcraft::IronGolem, Botcraft::ItemEntity, Botcraft::ItemFrame, Botcraft::JungleBoat, Botcraft::JungleChestBoat, Botcraft::LargeFireball, Botcraft::LeashFenceKnotEntity, Botcraft::LightningBolt, Botcraft::Llama, Botcraft::LlamaSpit, LOG_WARNING, Botcraft::MagmaCube, Botcraft::MangroveBoat, Botcraft::MangroveChestBoat, Botcraft::Mannequin, Botcraft::Marker, Botcraft::Minecart, Botcraft::MinecartChest, Botcraft::MinecartCommandBlock, Botcraft::MinecartFurnace, Botcraft::MinecartHopper, Botcraft::MinecartSpawner, Botcraft::MinecartTNT, Botcraft::Mule, Botcraft::MushroomCow, Botcraft::Nautilus, Botcraft::None, Botcraft::OakBoat, Botcraft::OakChestBoat, Botcraft::Ocelot, Botcraft::OminousItemSpawner, Botcraft::Painting, Botcraft::PaleOakBoat, Botcraft::PaleOakChestBoat, Botcraft::Panda, Botcraft::Parched, Botcraft::Parrot, Botcraft::Phantom, Botcraft::Pig, Botcraft::Piglin, Botcraft::PiglinBrute, Botcraft::Pillager, Botcraft::Player, Botcraft::PolarBear, Botcraft::PoplarBoat, Botcraft::PoplarChestBoat, Botcraft::PrimedTnt, Botcraft::Pufferfish, Botcraft::Rabbit, Botcraft::Raft, Botcraft::Ravager, Botcraft::Salmon, Botcraft::Sheep, Botcraft::Shulker, Botcraft::ShulkerBullet, Botcraft::Silverfish, Botcraft::Skeleton, Botcraft::SkeletonHorse, Botcraft::Slime, Botcraft::SmallFireball, Botcraft::Sniffer, Botcraft::Snowball, Botcraft::SnowGolem, Botcraft::SpectralArrow, Botcraft::Spider, Botcraft::SpruceBoat, Botcraft::SpruceChestBoat, Botcraft::Squid, Botcraft::Stray, Botcraft::Strider, Botcraft::SulfurCube, Botcraft::Tadpole, Botcraft::ThrownEgg, Botcraft::ThrownEnderpearl, Botcraft::ThrownExperienceBottle, Botcraft::ThrownLingeringPotion, Botcraft::ThrownSplashPotion, Botcraft::ThrownTrident, Botcraft::TraderLlama, Botcraft::TropicalFish, Botcraft::Turtle, Botcraft::Vex, Botcraft::Villager, Botcraft::Vindicator, Botcraft::WanderingTrader, Botcraft::Warden, Botcraft::WindCharge, Botcraft::Witch, Botcraft::WitherBoss, Botcraft::WitherSkeleton, Botcraft::WitherSkull, Botcraft::Wolf, Botcraft::Zoglin, Botcraft::Zombie, Botcraft::ZombieHorse, Botcraft::ZombieNautilus, Botcraft::ZombieVillager, and Botcraft::ZombifiedPiglin.
Referenced by Botcraft::EntityManager::Handle().
|
inlinestaticconstexprprotected |
Definition at line 89 of file Entity.hpp.
| bool Botcraft::Entity::GetAreRenderedFacesUpToDate | ( | ) | const |
Definition at line 1033 of file Entity.cpp.
References are_rendered_faces_up_to_date, and entity_mutex.
| AABB Botcraft::Entity::GetCollider | ( | ) | const |
Definition at line 337 of file Entity.cpp.
References entity_mutex, and GetColliderImpl().
|
protected |
Definition at line 2233 of file Entity.cpp.
References GetHeightImpl(), GetWidthImpl(), position, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
Referenced by GetCollider().
| int Botcraft::Entity::GetDataAirSupplyId | ( | ) | const |
Definition at line 808 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| std::optional< ProtocolCraft::Chat > Botcraft::Entity::GetDataCustomName | ( | ) | const |
Definition at line 814 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| bool Botcraft::Entity::GetDataCustomNameVisible | ( | ) | const |
Definition at line 825 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| bool Botcraft::Entity::GetDataNoGravity | ( | ) | const |
Definition at line 835 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| Pose Botcraft::Entity::GetDataPose | ( | ) | const |
Definition at line 841 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
|
protected |
Definition at line 2222 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Botcraft::PlayerEntity::GetEyeHeightImpl(), Botcraft::PlayerEntity::GetHeightImpl(), and Botcraft::PlayerEntity::GetWidthImpl().
| char Botcraft::Entity::GetDataSharedFlagsId | ( | ) | const |
Definition at line 796 of file Entity.cpp.
References entity_mutex, and GetDataSharedFlagsIdImpl().
Referenced by Serialize().
| bool Botcraft::Entity::GetDataSharedFlagsId | ( | const EntitySharedFlagsId | id | ) | const |
Definition at line 802 of file Entity.cpp.
References entity_mutex, and GetDataSharedFlagsIdImpl().
|
protected |
Definition at line 2195 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by GetDataSharedFlagsId(), GetDataSharedFlagsId(), GetDataSharedFlagsIdImpl(), and SetDataSharedFlagsIdImpl().
|
protected |
Definition at line 2200 of file Entity.cpp.
References GetDataSharedFlagsIdImpl().
| bool Botcraft::Entity::GetDataSilent | ( | ) | const |
Definition at line 830 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| int Botcraft::Entity::GetDataTicksFrozen | ( | ) | const |
Definition at line 848 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| std::vector< EntityEffect > Botcraft::Entity::GetEffects | ( | ) | const |
Definition at line 1004 of file Entity.cpp.
References effects, and entity_mutex.
| int Botcraft::Entity::GetEntityID | ( | ) | const |
Definition at line 914 of file Entity.cpp.
References entity_id, and entity_mutex.
| ProtocolCraft::Slot Botcraft::Entity::GetEquipment | ( | const EquipmentSlot | slot | ) | const |
Definition at line 998 of file Entity.cpp.
References entity_mutex, and equipments.
| std::map< EquipmentSlot, ProtocolCraft::Slot > Botcraft::Entity::GetEquipments | ( | ) | const |
Definition at line 992 of file Entity.cpp.
References entity_mutex, and equipments.
| std::vector< Renderer::Face > Botcraft::Entity::GetFaces | ( | const bool | reset_uptodate_status | ) |
Definition at line 1012 of file Entity.cpp.
References are_rendered_faces_up_to_date, entity_mutex, face_descriptors, faces, and InitializeFaces().
| double Botcraft::Entity::GetHeight | ( | ) | const |
Definition at line 349 of file Entity.cpp.
References entity_mutex, and GetHeightImpl().
|
protectedvirtual |
Reimplemented in Botcraft::BatEntity, Botcraft::AllayEntity, Botcraft::ArmadilloEntity, Botcraft::AxolotlEntity, Botcraft::BeeEntity, Botcraft::CamelEntity, Botcraft::CamelHuskEntity, Botcraft::ChickenEntity, Botcraft::CowEntity, Botcraft::MushroomCowEntity, Botcraft::DolphinEntity, Botcraft::DonkeyEntity, Botcraft::HorseEntity, Botcraft::LlamaEntity, Botcraft::MuleEntity, Botcraft::SkeletonHorseEntity, Botcraft::TraderLlamaEntity, Botcraft::ZombieHorseEntity, Botcraft::CatEntity, Botcraft::OcelotEntity, Botcraft::CodEntity, Botcraft::PufferfishEntity, Botcraft::SalmonEntity, Botcraft::TropicalFishEntity, Botcraft::FoxEntity, Botcraft::FrogEntity, Botcraft::TadpoleEntity, Botcraft::GoatEntity, Botcraft::CopperGolemEntity, Botcraft::IronGolemEntity, Botcraft::SnowGolemEntity, Botcraft::HappyGhastEntity, Botcraft::NautilusEntity, Botcraft::ZombieNautilusEntity, Botcraft::PandaEntity, Botcraft::ParrotEntity, Botcraft::PigEntity, Botcraft::PolarBearEntity, Botcraft::RabbitEntity, Botcraft::SheepEntity, Botcraft::SnifferEntity, Botcraft::GlowSquidEntity, Botcraft::SquidEntity, Botcraft::TurtleEntity, Botcraft::WolfEntity, Botcraft::AreaEffectCloudEntity, Botcraft::EndCrystalEntity, Botcraft::EnderDragonEntity, Botcraft::WitherBossEntity, Botcraft::ArmorStandEntity, Botcraft::CushionEntity, Botcraft::GlowItemFrameEntity, Botcraft::ItemFrameEntity, Botcraft::LeashFenceKnotEntity, Botcraft::MannequinEntity, Botcraft::PaintingEntity, Botcraft::DisplayBlockDisplayEntity, Botcraft::DisplayItemDisplayEntity, Botcraft::DisplayTextDisplayEntity, Botcraft::ExperienceOrbEntity, Botcraft::InteractionEntity, Botcraft::FallingBlockEntity, Botcraft::ItemEntity, Botcraft::PrimedTntEntity, Botcraft::LightningBoltEntity, Botcraft::MarkerEntity, Botcraft::BlazeEntity, Botcraft::BreezeEntity, Botcraft::CreakingEntity, Botcraft::CreeperEntity, Botcraft::MagmaCubeEntity, Botcraft::SlimeEntity, Botcraft::SulfurCubeEntity, Botcraft::ElderGuardianEntity, Botcraft::EnderManEntity, Botcraft::EndermiteEntity, Botcraft::GhastEntity, Botcraft::GiantEntity, Botcraft::GuardianEntity, Botcraft::HoglinEntity, Botcraft::EvokerEntity, Botcraft::IllusionerEntity, Botcraft::PillagerEntity, Botcraft::VindicatorEntity, Botcraft::PhantomEntity, Botcraft::PiglinBruteEntity, Botcraft::PiglinEntity, Botcraft::RavagerEntity, Botcraft::ShulkerEntity, Botcraft::SilverfishEntity, Botcraft::BoggedEntity, Botcraft::ParchedEntity, Botcraft::SkeletonEntity, Botcraft::StrayEntity, Botcraft::WitherSkeletonEntity, Botcraft::CaveSpiderEntity, Botcraft::SpiderEntity, Botcraft::StriderEntity, Botcraft::VexEntity, Botcraft::WardenEntity, Botcraft::WitchEntity, Botcraft::ZoglinEntity, Botcraft::DrownedEntity, Botcraft::HuskEntity, Botcraft::ZombieEntity, Botcraft::ZombieVillagerEntity, Botcraft::ZombifiedPiglinEntity, Botcraft::VillagerEntity, Botcraft::WanderingTraderEntity, Botcraft::OminousItemSpawnerEntity, Botcraft::PlayerEntity, Botcraft::ArrowEntity, Botcraft::SpectralArrowEntity, Botcraft::ThrownTridentEntity, Botcraft::EvokerFangsEntity, Botcraft::EyeOfEnderEntity, Botcraft::FireworkRocketEntity, Botcraft::FishingHookEntity, Botcraft::DragonFireballEntity, Botcraft::LargeFireballEntity, Botcraft::SmallFireballEntity, Botcraft::BreezeWindChargeEntity, Botcraft::WindChargeEntity, Botcraft::WitherSkullEntity, Botcraft::LlamaSpitEntity, Botcraft::ShulkerBulletEntity, Botcraft::SnowballEntity, Botcraft::ThrownEggEntity, Botcraft::ThrownEnderpearlEntity, Botcraft::ThrownExperienceBottleEntity, Botcraft::ThrownLingeringPotionEntity, Botcraft::ThrownSplashPotionEntity, Botcraft::UnknownEntity, Botcraft::BoatEntity, Botcraft::ChestBoatEntity, Botcraft::ChestRaftEntity, Botcraft::RaftEntity, Botcraft::MinecartChestEntity, Botcraft::MinecartCommandBlockEntity, Botcraft::MinecartEntity, Botcraft::MinecartFurnaceEntity, Botcraft::MinecartHopperEntity, Botcraft::MinecartSpawnerEntity, and Botcraft::MinecartTNTEntity.
Definition at line 2248 of file Entity.cpp.
Referenced by GetColliderImpl(), GetHeight(), InitializeFaces(), and OnSizeUpdated().
|
inlineprotected |
Definition at line 108 of file Entity.hpp.
References entity_mutex.
|
inlineprotected |
Definition at line 102 of file Entity.hpp.
References metadata.
|
pure virtual |
Implemented in Botcraft::BatEntity, Botcraft::AllayEntity, Botcraft::ArmadilloEntity, Botcraft::AxolotlEntity, Botcraft::BeeEntity, Botcraft::CamelEntity, Botcraft::CamelHuskEntity, Botcraft::ChickenEntity, Botcraft::CowEntity, Botcraft::MushroomCowEntity, Botcraft::DolphinEntity, Botcraft::DonkeyEntity, Botcraft::HorseEntity, Botcraft::LlamaEntity, Botcraft::MuleEntity, Botcraft::SkeletonHorseEntity, Botcraft::TraderLlamaEntity, Botcraft::ZombieHorseEntity, Botcraft::CatEntity, Botcraft::OcelotEntity, Botcraft::CodEntity, Botcraft::PufferfishEntity, Botcraft::SalmonEntity, Botcraft::TropicalFishEntity, Botcraft::FoxEntity, Botcraft::FrogEntity, Botcraft::TadpoleEntity, Botcraft::GoatEntity, Botcraft::CopperGolemEntity, Botcraft::IronGolemEntity, Botcraft::SnowGolemEntity, Botcraft::HappyGhastEntity, Botcraft::NautilusEntity, Botcraft::ZombieNautilusEntity, Botcraft::PandaEntity, Botcraft::ParrotEntity, Botcraft::PigEntity, Botcraft::PolarBearEntity, Botcraft::RabbitEntity, Botcraft::SheepEntity, Botcraft::SnifferEntity, Botcraft::GlowSquidEntity, Botcraft::SquidEntity, Botcraft::TurtleEntity, Botcraft::WolfEntity, Botcraft::AreaEffectCloudEntity, Botcraft::EndCrystalEntity, Botcraft::EnderDragonEntity, Botcraft::WitherBossEntity, Botcraft::ArmorStandEntity, Botcraft::CushionEntity, Botcraft::GlowItemFrameEntity, Botcraft::ItemFrameEntity, Botcraft::LeashFenceKnotEntity, Botcraft::MannequinEntity, Botcraft::PaintingEntity, Botcraft::DisplayBlockDisplayEntity, Botcraft::DisplayItemDisplayEntity, Botcraft::DisplayTextDisplayEntity, Botcraft::ExperienceOrbEntity, Botcraft::InteractionEntity, Botcraft::FallingBlockEntity, Botcraft::ItemEntity, Botcraft::PrimedTntEntity, Botcraft::LightningBoltEntity, Botcraft::MarkerEntity, Botcraft::BlazeEntity, Botcraft::BreezeEntity, Botcraft::CreakingEntity, Botcraft::CreeperEntity, Botcraft::MagmaCubeEntity, Botcraft::SlimeEntity, Botcraft::SulfurCubeEntity, Botcraft::ElderGuardianEntity, Botcraft::EnderManEntity, Botcraft::EndermiteEntity, Botcraft::GhastEntity, Botcraft::GiantEntity, Botcraft::GuardianEntity, Botcraft::HoglinEntity, Botcraft::EvokerEntity, Botcraft::IllusionerEntity, Botcraft::PillagerEntity, Botcraft::VindicatorEntity, Botcraft::PhantomEntity, Botcraft::PiglinBruteEntity, Botcraft::PiglinEntity, Botcraft::RavagerEntity, Botcraft::ShulkerEntity, Botcraft::SilverfishEntity, Botcraft::BoggedEntity, Botcraft::ParchedEntity, Botcraft::SkeletonEntity, Botcraft::StrayEntity, Botcraft::WitherSkeletonEntity, Botcraft::CaveSpiderEntity, Botcraft::SpiderEntity, Botcraft::StriderEntity, Botcraft::VexEntity, Botcraft::WardenEntity, Botcraft::WitchEntity, Botcraft::ZoglinEntity, Botcraft::DrownedEntity, Botcraft::HuskEntity, Botcraft::ZombieEntity, Botcraft::ZombieVillagerEntity, Botcraft::ZombifiedPiglinEntity, Botcraft::VillagerEntity, Botcraft::WanderingTraderEntity, Botcraft::OminousItemSpawnerEntity, Botcraft::PlayerEntity, Botcraft::ArrowEntity, Botcraft::SpectralArrowEntity, Botcraft::ThrownTridentEntity, Botcraft::EvokerFangsEntity, Botcraft::EyeOfEnderEntity, Botcraft::FireworkRocketEntity, Botcraft::FishingHookEntity, Botcraft::DragonFireballEntity, Botcraft::LargeFireballEntity, Botcraft::SmallFireballEntity, Botcraft::BreezeWindChargeEntity, Botcraft::WindChargeEntity, Botcraft::WitherSkullEntity, Botcraft::LlamaSpitEntity, Botcraft::ShulkerBulletEntity, Botcraft::SnowballEntity, Botcraft::ThrownEggEntity, Botcraft::ThrownEnderpearlEntity, Botcraft::ThrownExperienceBottleEntity, Botcraft::ThrownLingeringPotionEntity, Botcraft::ThrownSplashPotionEntity, Botcraft::UnknownEntity, Botcraft::BoatEntity, Botcraft::ChestBoatEntity, Botcraft::ChestRaftEntity, Botcraft::RaftEntity, Botcraft::MinecartChestEntity, Botcraft::MinecartCommandBlockEntity, Botcraft::MinecartEntity, Botcraft::MinecartFurnaceEntity, Botcraft::MinecartHopperEntity, Botcraft::MinecartSpawnerEntity, and Botcraft::MinecartTNTEntity.
Referenced by Botcraft::LivingEntity::AddAttribute(), Botcraft::LivingEntity::SetAttributeBaseValue(), Botcraft::LivingEntity::SetAttributeModifierImpl(), and SetMetadataImpl().
| bool Botcraft::Entity::GetOnGround | ( | ) | const |
Definition at line 986 of file Entity.cpp.
References entity_mutex, and on_ground.
| float Botcraft::Entity::GetPitch | ( | ) | const |
Definition at line 956 of file Entity.cpp.
References entity_mutex, and pitch.
| Vector3< double > Botcraft::Entity::GetPosition | ( | ) | const |
Definition at line 926 of file Entity.cpp.
References entity_mutex, and position.
| Vector3< double > Botcraft::Entity::GetSpeed | ( | ) | const |
Definition at line 962 of file Entity.cpp.
References entity_mutex, and speed.
| double Botcraft::Entity::GetSpeedX | ( | ) | const |
Definition at line 968 of file Entity.cpp.
References entity_mutex, speed, and Botcraft::Vector3< T >::x.
| double Botcraft::Entity::GetSpeedY | ( | ) | const |
Definition at line 974 of file Entity.cpp.
References entity_mutex, speed, and Botcraft::Vector3< T >::y.
| double Botcraft::Entity::GetSpeedZ | ( | ) | const |
Definition at line 980 of file Entity.cpp.
References entity_mutex, speed, and Botcraft::Vector3< T >::z.
|
pure virtual |
Implemented in Botcraft::BatEntity, Botcraft::AllayEntity, Botcraft::ArmadilloEntity, Botcraft::AxolotlEntity, Botcraft::BeeEntity, Botcraft::CamelEntity, Botcraft::CamelHuskEntity, Botcraft::ChickenEntity, Botcraft::CowEntity, Botcraft::MushroomCowEntity, Botcraft::DolphinEntity, Botcraft::DonkeyEntity, Botcraft::HorseEntity, Botcraft::LlamaEntity, Botcraft::MuleEntity, Botcraft::SkeletonHorseEntity, Botcraft::TraderLlamaEntity, Botcraft::ZombieHorseEntity, Botcraft::CatEntity, Botcraft::OcelotEntity, Botcraft::CodEntity, Botcraft::PufferfishEntity, Botcraft::SalmonEntity, Botcraft::TropicalFishEntity, Botcraft::FoxEntity, Botcraft::FrogEntity, Botcraft::TadpoleEntity, Botcraft::GoatEntity, Botcraft::CopperGolemEntity, Botcraft::IronGolemEntity, Botcraft::SnowGolemEntity, Botcraft::HappyGhastEntity, Botcraft::NautilusEntity, Botcraft::ZombieNautilusEntity, Botcraft::PandaEntity, Botcraft::ParrotEntity, Botcraft::PigEntity, Botcraft::PolarBearEntity, Botcraft::RabbitEntity, Botcraft::SheepEntity, Botcraft::SnifferEntity, Botcraft::GlowSquidEntity, Botcraft::SquidEntity, Botcraft::TurtleEntity, Botcraft::WolfEntity, Botcraft::AreaEffectCloudEntity, Botcraft::EndCrystalEntity, Botcraft::EnderDragonEntity, Botcraft::WitherBossEntity, Botcraft::ArmorStandEntity, Botcraft::CushionEntity, Botcraft::GlowItemFrameEntity, Botcraft::ItemFrameEntity, Botcraft::LeashFenceKnotEntity, Botcraft::MannequinEntity, Botcraft::PaintingEntity, Botcraft::DisplayBlockDisplayEntity, Botcraft::DisplayItemDisplayEntity, Botcraft::DisplayTextDisplayEntity, Botcraft::ExperienceOrbEntity, Botcraft::InteractionEntity, Botcraft::FallingBlockEntity, Botcraft::ItemEntity, Botcraft::PrimedTntEntity, Botcraft::LightningBoltEntity, Botcraft::MarkerEntity, Botcraft::BlazeEntity, Botcraft::BreezeEntity, Botcraft::CreakingEntity, Botcraft::CreeperEntity, Botcraft::MagmaCubeEntity, Botcraft::SlimeEntity, Botcraft::SulfurCubeEntity, Botcraft::ElderGuardianEntity, Botcraft::EnderManEntity, Botcraft::EndermiteEntity, Botcraft::GhastEntity, Botcraft::GiantEntity, Botcraft::GuardianEntity, Botcraft::HoglinEntity, Botcraft::EvokerEntity, Botcraft::IllusionerEntity, Botcraft::PillagerEntity, Botcraft::VindicatorEntity, Botcraft::PhantomEntity, Botcraft::PiglinBruteEntity, Botcraft::PiglinEntity, Botcraft::RavagerEntity, Botcraft::ShulkerEntity, Botcraft::SilverfishEntity, Botcraft::BoggedEntity, Botcraft::ParchedEntity, Botcraft::SkeletonEntity, Botcraft::StrayEntity, Botcraft::WitherSkeletonEntity, Botcraft::CaveSpiderEntity, Botcraft::SpiderEntity, Botcraft::StriderEntity, Botcraft::VexEntity, Botcraft::WardenEntity, Botcraft::WitchEntity, Botcraft::ZoglinEntity, Botcraft::DrownedEntity, Botcraft::HuskEntity, Botcraft::ZombieEntity, Botcraft::ZombieVillagerEntity, Botcraft::ZombifiedPiglinEntity, Botcraft::VillagerEntity, Botcraft::WanderingTraderEntity, Botcraft::OminousItemSpawnerEntity, Botcraft::PlayerEntity, Botcraft::ArrowEntity, Botcraft::SpectralArrowEntity, Botcraft::ThrownTridentEntity, Botcraft::EvokerFangsEntity, Botcraft::EyeOfEnderEntity, Botcraft::FireworkRocketEntity, Botcraft::FishingHookEntity, Botcraft::DragonFireballEntity, Botcraft::LargeFireballEntity, Botcraft::SmallFireballEntity, Botcraft::BreezeWindChargeEntity, Botcraft::WindChargeEntity, Botcraft::WitherSkullEntity, Botcraft::LlamaSpitEntity, Botcraft::ShulkerBulletEntity, Botcraft::SnowballEntity, Botcraft::ThrownEggEntity, Botcraft::ThrownEnderpearlEntity, Botcraft::ThrownExperienceBottleEntity, Botcraft::ThrownLingeringPotionEntity, Botcraft::ThrownSplashPotionEntity, Botcraft::UnknownEntity, Botcraft::BoatEntity, Botcraft::ChestBoatEntity, Botcraft::ChestRaftEntity, Botcraft::RaftEntity, Botcraft::MinecartChestEntity, Botcraft::MinecartCommandBlockEntity, Botcraft::MinecartEntity, Botcraft::MinecartFurnaceEntity, Botcraft::MinecartHopperEntity, Botcraft::MinecartSpawnerEntity, and Botcraft::MinecartTNTEntity.
| ProtocolCraft::UUID Botcraft::Entity::GetUUID | ( | ) | const |
Definition at line 920 of file Entity.cpp.
References entity_mutex, and uuid.
| double Botcraft::Entity::GetWidth | ( | ) | const |
Definition at line 343 of file Entity.cpp.
References entity_mutex, and GetWidthImpl().
|
protectedvirtual |
Reimplemented in Botcraft::BatEntity, Botcraft::AllayEntity, Botcraft::ArmadilloEntity, Botcraft::AxolotlEntity, Botcraft::BeeEntity, Botcraft::CamelEntity, Botcraft::CamelHuskEntity, Botcraft::ChickenEntity, Botcraft::CowEntity, Botcraft::MushroomCowEntity, Botcraft::DolphinEntity, Botcraft::DonkeyEntity, Botcraft::HorseEntity, Botcraft::LlamaEntity, Botcraft::MuleEntity, Botcraft::SkeletonHorseEntity, Botcraft::TraderLlamaEntity, Botcraft::ZombieHorseEntity, Botcraft::CatEntity, Botcraft::OcelotEntity, Botcraft::CodEntity, Botcraft::PufferfishEntity, Botcraft::SalmonEntity, Botcraft::TropicalFishEntity, Botcraft::FoxEntity, Botcraft::FrogEntity, Botcraft::TadpoleEntity, Botcraft::GoatEntity, Botcraft::CopperGolemEntity, Botcraft::IronGolemEntity, Botcraft::SnowGolemEntity, Botcraft::HappyGhastEntity, Botcraft::NautilusEntity, Botcraft::ZombieNautilusEntity, Botcraft::PandaEntity, Botcraft::ParrotEntity, Botcraft::PigEntity, Botcraft::PolarBearEntity, Botcraft::RabbitEntity, Botcraft::SheepEntity, Botcraft::SnifferEntity, Botcraft::GlowSquidEntity, Botcraft::SquidEntity, Botcraft::TurtleEntity, Botcraft::WolfEntity, Botcraft::AreaEffectCloudEntity, Botcraft::EndCrystalEntity, Botcraft::EnderDragonEntity, Botcraft::WitherBossEntity, Botcraft::ArmorStandEntity, Botcraft::CushionEntity, Botcraft::GlowItemFrameEntity, Botcraft::ItemFrameEntity, Botcraft::LeashFenceKnotEntity, Botcraft::MannequinEntity, Botcraft::PaintingEntity, Botcraft::DisplayBlockDisplayEntity, Botcraft::DisplayItemDisplayEntity, Botcraft::DisplayTextDisplayEntity, Botcraft::ExperienceOrbEntity, Botcraft::InteractionEntity, Botcraft::FallingBlockEntity, Botcraft::ItemEntity, Botcraft::PrimedTntEntity, Botcraft::LightningBoltEntity, Botcraft::MarkerEntity, Botcraft::BlazeEntity, Botcraft::BreezeEntity, Botcraft::CreakingEntity, Botcraft::CreeperEntity, Botcraft::MagmaCubeEntity, Botcraft::SlimeEntity, Botcraft::SulfurCubeEntity, Botcraft::ElderGuardianEntity, Botcraft::EnderManEntity, Botcraft::EndermiteEntity, Botcraft::GhastEntity, Botcraft::GiantEntity, Botcraft::GuardianEntity, Botcraft::HoglinEntity, Botcraft::EvokerEntity, Botcraft::IllusionerEntity, Botcraft::PillagerEntity, Botcraft::VindicatorEntity, Botcraft::PhantomEntity, Botcraft::PiglinBruteEntity, Botcraft::PiglinEntity, Botcraft::RavagerEntity, Botcraft::ShulkerEntity, Botcraft::SilverfishEntity, Botcraft::BoggedEntity, Botcraft::ParchedEntity, Botcraft::SkeletonEntity, Botcraft::StrayEntity, Botcraft::WitherSkeletonEntity, Botcraft::CaveSpiderEntity, Botcraft::SpiderEntity, Botcraft::StriderEntity, Botcraft::VexEntity, Botcraft::WardenEntity, Botcraft::WitchEntity, Botcraft::ZoglinEntity, Botcraft::DrownedEntity, Botcraft::HuskEntity, Botcraft::ZombieEntity, Botcraft::ZombieVillagerEntity, Botcraft::ZombifiedPiglinEntity, Botcraft::VillagerEntity, Botcraft::WanderingTraderEntity, Botcraft::OminousItemSpawnerEntity, Botcraft::PlayerEntity, Botcraft::ArrowEntity, Botcraft::SpectralArrowEntity, Botcraft::ThrownTridentEntity, Botcraft::EvokerFangsEntity, Botcraft::EyeOfEnderEntity, Botcraft::FireworkRocketEntity, Botcraft::FishingHookEntity, Botcraft::DragonFireballEntity, Botcraft::LargeFireballEntity, Botcraft::SmallFireballEntity, Botcraft::BreezeWindChargeEntity, Botcraft::WindChargeEntity, Botcraft::WitherSkullEntity, Botcraft::LlamaSpitEntity, Botcraft::ShulkerBulletEntity, Botcraft::SnowballEntity, Botcraft::ThrownEggEntity, Botcraft::ThrownEnderpearlEntity, Botcraft::ThrownExperienceBottleEntity, Botcraft::ThrownLingeringPotionEntity, Botcraft::ThrownSplashPotionEntity, Botcraft::UnknownEntity, Botcraft::BoatEntity, Botcraft::ChestBoatEntity, Botcraft::ChestRaftEntity, Botcraft::RaftEntity, Botcraft::MinecartChestEntity, Botcraft::MinecartCommandBlockEntity, Botcraft::MinecartEntity, Botcraft::MinecartFurnaceEntity, Botcraft::MinecartHopperEntity, Botcraft::MinecartSpawnerEntity, and Botcraft::MinecartTNTEntity.
Definition at line 2243 of file Entity.cpp.
Referenced by GetColliderImpl(), GetWidth(), InitializeFaces(), and OnSizeUpdated().
| double Botcraft::Entity::GetX | ( | ) | const |
Definition at line 932 of file Entity.cpp.
References entity_mutex, position, and Botcraft::Vector3< T >::x.
| double Botcraft::Entity::GetY | ( | ) | const |
Definition at line 938 of file Entity.cpp.
References entity_mutex, position, and Botcraft::Vector3< T >::y.
| float Botcraft::Entity::GetYaw | ( | ) | const |
Definition at line 950 of file Entity.cpp.
References entity_mutex, and yaw.
| double Botcraft::Entity::GetZ | ( | ) | const |
Definition at line 944 of file Entity.cpp.
References entity_mutex, position, and Botcraft::Vector3< T >::z.
|
protectedvirtual |
Definition at line 2097 of file Entity.cpp.
References Botcraft::Renderer::Animated, Botcraft::Renderer::TextureData::animation, are_rendered_faces_up_to_date, entity_mutex, face_descriptors, faces, Botcraft::AssetsManager::GetAtlas(), Botcraft::Renderer::Atlas::GetData(), Botcraft::Renderer::Atlas::GetHeight(), GetHeightImpl(), Botcraft::AssetsManager::getInstance(), Botcraft::Renderer::Atlas::GetWidth(), GetWidthImpl(), Botcraft::None, Botcraft::Renderer::Opaque, pitch, position, Botcraft::Renderer::TextureData::position, Botcraft::Renderer::TextureData::size, Botcraft::Renderer::Static, Botcraft::Renderer::TextureData::transparency, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, yaw, and Botcraft::Vector3< T >::z.
Referenced by GetFaces().
|
virtual |
Reimplemented in Botcraft::AbstractArrowEntity.
Definition at line 1303 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractBoatEntity.
Definition at line 1513 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractChestBoatEntity.
Definition at line 1518 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractChestedHorseEntity.
Definition at line 1352 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractCowEntity.
Definition at line 1412 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractCubeMobEntity.
Definition at line 1564 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractFishEntity.
Definition at line 1447 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractGolemEntity.
Definition at line 1391 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractHorseEntity.
Definition at line 1386 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractHurtingProjectileEntity.
Definition at line 1357 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractIllagerEntity.
Definition at line 1435 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractMinecartEntity.
Definition at line 1406 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractMinecartContainerEntity.
Definition at line 1418 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractNautilusEntity.
Definition at line 1557 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractPiglinEntity.
Definition at line 1429 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractSchoolingFishEntity.
Definition at line 1342 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractSkeletonEntity.
Definition at line 1459 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractThrownPotionEntity.
Definition at line 1441 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractVillagerEntity.
Definition at line 1470 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AbstractWindChargeEntity.
Definition at line 1499 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AgeableMobEntity.
Definition at line 1476 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AgeableWaterCreatureEntity.
Definition at line 1523 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AmbientCreatureEntity.
Definition at line 1313 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AnimalEntity.
Definition at line 1308 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::AvatarEntity.
Definition at line 1550 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::BlockAttachedEntity.
Definition at line 1506 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::BoatEntity.
Definition at line 1528 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::ChestBoatEntity.
Definition at line 1533 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::ChestRaftEntity.
Definition at line 1538 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::DisplayEntity.
Definition at line 1324 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::FireballEntity.
Definition at line 1401 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::HangingEntity.
Definition at line 1396 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::LivingEntity.
Definition at line 1298 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::LocalPlayer.
Definition at line 1288 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::MobEntity.
Definition at line 1362 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::MonsterEntity.
Definition at line 1318 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::PathfinderMobEntity.
Definition at line 1481 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::PatrollingMonsterEntity.
Definition at line 1487 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::ProjectileEntity.
Definition at line 1373 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::RaftEntity.
Definition at line 1543 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::RaiderEntity.
Definition at line 1453 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::PlayerEntity, and Botcraft::LocalPlayer.
Definition at line 1293 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::ShoulderRidingEntity.
Definition at line 1423 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::SpellcasterIllagerEntity.
Definition at line 1367 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::TamableAnimalEntity.
Definition at line 1337 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::ThrowableItemProjectileEntity.
Definition at line 1464 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::ThrowableProjectileEntity.
Definition at line 1493 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::VehicleEntity.
Definition at line 1331 of file Entity.cpp.
|
virtual |
Reimplemented in Botcraft::WaterAnimalEntity.
Definition at line 1347 of file Entity.cpp.
| void Botcraft::Entity::LoadMetadataFromRawArray | ( | const std::vector< unsigned char > & | data | ) |
Definition at line 383 of file Entity.cpp.
References LOG_ERROR, position, ProtocolCraft::NetworkType::Read(), and SetMetadata().
|
protectedvirtual |
Reimplemented in Botcraft::SalmonEntity, Botcraft::AreaEffectCloudEntity, and Botcraft::AbstractCubeMobEntity.
Definition at line 372 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and OnSizeUpdated().
Referenced by Botcraft::SalmonEntity::OnMetadataChangedImpl(), Botcraft::AreaEffectCloudEntity::OnMetadataChangedImpl(), Botcraft::AbstractCubeMobEntity::OnMetadataChangedImpl(), and SetMetadataImpl().
|
protected |
Definition at line 2179 of file Entity.cpp.
References are_rendered_faces_up_to_date, face_descriptors, faces, GetHeightImpl(), and GetWidthImpl().
Referenced by OnMetadataChangedImpl(), Botcraft::SalmonEntity::OnMetadataChangedImpl(), Botcraft::AreaEffectCloudEntity::OnMetadataChangedImpl(), and Botcraft::AbstractCubeMobEntity::OnMetadataChangedImpl().
| void Botcraft::Entity::RemoveEffect | ( | const EntityEffectType | type | ) |
Definition at line 1220 of file Entity.cpp.
References effects, and entity_mutex.
|
virtual |
Reimplemented in Botcraft::AgeableMobEntity, Botcraft::BatEntity, Botcraft::AllayEntity, Botcraft::AnimalEntity, Botcraft::ArmadilloEntity, Botcraft::AxolotlEntity, Botcraft::BeeEntity, Botcraft::CamelEntity, Botcraft::ChickenEntity, Botcraft::CowEntity, Botcraft::MushroomCowEntity, Botcraft::DolphinEntity, Botcraft::AbstractChestedHorseEntity, Botcraft::AbstractHorseEntity, Botcraft::HorseEntity, Botcraft::LlamaEntity, Botcraft::CatEntity, Botcraft::OcelotEntity, Botcraft::AbstractFishEntity, Botcraft::PufferfishEntity, Botcraft::SalmonEntity, Botcraft::TropicalFishEntity, Botcraft::FoxEntity, Botcraft::FrogEntity, Botcraft::TadpoleEntity, Botcraft::GoatEntity, Botcraft::CopperGolemEntity, Botcraft::IronGolemEntity, Botcraft::SnowGolemEntity, Botcraft::HappyGhastEntity, Botcraft::AbstractNautilusEntity, Botcraft::ZombieNautilusEntity, Botcraft::PandaEntity, Botcraft::ParrotEntity, Botcraft::PigEntity, Botcraft::PolarBearEntity, Botcraft::RabbitEntity, Botcraft::SheepEntity, Botcraft::SnifferEntity, Botcraft::GlowSquidEntity, Botcraft::TurtleEntity, Botcraft::WolfEntity, Botcraft::AreaEffectCloudEntity, Botcraft::AvatarEntity, Botcraft::EndCrystalEntity, Botcraft::EnderDragonEntity, Botcraft::WitherBossEntity, Botcraft::ArmorStandEntity, Botcraft::CushionEntity, Botcraft::HangingEntity, Botcraft::ItemFrameEntity, Botcraft::MannequinEntity, Botcraft::PaintingEntity, Botcraft::DisplayBlockDisplayEntity, Botcraft::DisplayEntity, Botcraft::DisplayItemDisplayEntity, Botcraft::DisplayTextDisplayEntity, Botcraft::ExperienceOrbEntity, Botcraft::InteractionEntity, Botcraft::FallingBlockEntity, Botcraft::ItemEntity, Botcraft::PrimedTntEntity, Botcraft::LivingEntity, Botcraft::MobEntity, Botcraft::BlazeEntity, Botcraft::CreakingEntity, Botcraft::CreeperEntity, Botcraft::AbstractCubeMobEntity, Botcraft::SulfurCubeEntity, Botcraft::EnderManEntity, Botcraft::GhastEntity, Botcraft::GuardianEntity, Botcraft::HoglinEntity, Botcraft::PillagerEntity, Botcraft::SpellcasterIllagerEntity, Botcraft::MonsterEntity, Botcraft::PhantomEntity, Botcraft::AbstractPiglinEntity, Botcraft::PiglinEntity, Botcraft::ShulkerEntity, Botcraft::BoggedEntity, Botcraft::SkeletonEntity, Botcraft::SpiderEntity, Botcraft::StriderEntity, Botcraft::VexEntity, Botcraft::WardenEntity, Botcraft::WitchEntity, Botcraft::ZoglinEntity, Botcraft::ZombieEntity, Botcraft::ZombieVillagerEntity, Botcraft::AbstractVillagerEntity, Botcraft::VillagerEntity, Botcraft::OminousItemSpawnerEntity, Botcraft::PlayerEntity, Botcraft::AbstractArrowEntity, Botcraft::ArrowEntity, Botcraft::ThrownTridentEntity, Botcraft::EyeOfEnderEntity, Botcraft::FireworkRocketEntity, Botcraft::FishingHookEntity, Botcraft::FireballEntity, Botcraft::WitherSkullEntity, Botcraft::ThrowableItemProjectileEntity, Botcraft::RaiderEntity, Botcraft::TamableAnimalEntity, Botcraft::AbstractBoatEntity, Botcraft::BoatEntity, Botcraft::ChestBoatEntity, Botcraft::ChestRaftEntity, Botcraft::RaftEntity, Botcraft::AbstractMinecartEntity, Botcraft::MinecartCommandBlockEntity, Botcraft::MinecartFurnaceEntity, and Botcraft::VehicleEntity.
Definition at line 1246 of file Entity.cpp.
References entity_id, entity_mutex, equipments, GetDataAirSupplyId(), GetDataCustomName(), GetDataCustomNameVisible(), GetDataNoGravity(), GetDataPose(), GetDataSharedFlagsId(), GetDataSilent(), GetDataTicksFrozen(), on_ground, pitch, position, Botcraft::Vector3< T >::Serialize(), speed, and yaw.
Referenced by Botcraft::AgeableMobEntity::Serialize(), Botcraft::BatEntity::Serialize(), Botcraft::AllayEntity::Serialize(), Botcraft::DolphinEntity::Serialize(), Botcraft::AbstractFishEntity::Serialize(), Botcraft::CopperGolemEntity::Serialize(), Botcraft::IronGolemEntity::Serialize(), Botcraft::SnowGolemEntity::Serialize(), Botcraft::AreaEffectCloudEntity::Serialize(), Botcraft::EndCrystalEntity::Serialize(), Botcraft::CushionEntity::Serialize(), Botcraft::HangingEntity::Serialize(), Botcraft::DisplayEntity::Serialize(), Botcraft::ExperienceOrbEntity::Serialize(), Botcraft::InteractionEntity::Serialize(), Botcraft::FallingBlockEntity::Serialize(), Botcraft::ItemEntity::Serialize(), Botcraft::PrimedTntEntity::Serialize(), Botcraft::LivingEntity::Serialize(), Botcraft::PillagerEntity::Serialize(), Botcraft::SpellcasterIllagerEntity::Serialize(), Botcraft::MonsterEntity::Serialize(), Botcraft::ShulkerEntity::Serialize(), Botcraft::BoggedEntity::Serialize(), Botcraft::SkeletonEntity::Serialize(), Botcraft::OminousItemSpawnerEntity::Serialize(), Botcraft::AbstractArrowEntity::Serialize(), Botcraft::EyeOfEnderEntity::Serialize(), Botcraft::FireworkRocketEntity::Serialize(), Botcraft::FishingHookEntity::Serialize(), Botcraft::FireballEntity::Serialize(), Botcraft::WitherSkullEntity::Serialize(), Botcraft::ThrowableItemProjectileEntity::Serialize(), Botcraft::RaiderEntity::Serialize(), Botcraft::BoatEntity::Serialize(), Botcraft::ChestBoatEntity::Serialize(), Botcraft::ChestRaftEntity::Serialize(), Botcraft::AbstractMinecartEntity::Serialize(), and Botcraft::VehicleEntity::Serialize().
| void Botcraft::Entity::SetAreRenderedFacesUpToDate | ( | const bool | are_rendered_faces_up_to_date_ | ) |
Definition at line 1238 of file Entity.cpp.
References are_rendered_faces_up_to_date, and entity_mutex.
| void Botcraft::Entity::SetDataAirSupplyId | ( | const int | data_air_supply_id | ) |
Definition at line 867 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and SetMetadata().
Referenced by Entity().
| void Botcraft::Entity::SetDataCustomName | ( | const std::optional< ProtocolCraft::Chat > & | data_custom_name | ) |
Definition at line 873 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and SetMetadata().
| void Botcraft::Entity::SetDataCustomNameVisible | ( | const bool | data_custom_name_visible | ) |
Definition at line 884 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and SetMetadata().
| void Botcraft::Entity::SetDataNoGravity | ( | const bool | data_no_gravity | ) |
Definition at line 894 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and SetMetadata().
| void Botcraft::Entity::SetDataPose | ( | const Pose | data_pose | ) |
Definition at line 900 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and SetMetadata().
|
protected |
Definition at line 2227 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and SetMetadataImpl().
| void Botcraft::Entity::SetDataSharedFlagsId | ( | const char | data_shared_flags_id | ) |
Definition at line 855 of file Entity.cpp.
References entity_mutex, and SetDataSharedFlagsIdImpl().
Referenced by Entity().
| void Botcraft::Entity::SetDataSharedFlagsId | ( | const EntitySharedFlagsId | id, |
| const bool | b | ||
| ) |
Definition at line 861 of file Entity.cpp.
References entity_mutex, and SetDataSharedFlagsIdImpl().
|
protected |
Definition at line 2205 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and SetMetadataImpl().
Referenced by SetDataSharedFlagsId(), SetDataSharedFlagsId(), and SetDataSharedFlagsIdImpl().
|
protected |
Definition at line 2210 of file Entity.cpp.
References GetDataSharedFlagsIdImpl(), and SetDataSharedFlagsIdImpl().
| void Botcraft::Entity::SetDataSilent | ( | const bool | data_silent | ) |
Definition at line 889 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and SetMetadata().
| void Botcraft::Entity::SetDataTicksFrozen | ( | const int | data_ticks_frozen | ) |
Definition at line 907 of file Entity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and SetMetadata().
| void Botcraft::Entity::SetEffects | ( | const std::vector< EntityEffect > & | effects_ | ) |
Definition at line 1194 of file Entity.cpp.
References effects, and entity_mutex.
| void Botcraft::Entity::SetEntityID | ( | const int | entity_id_ | ) |
Definition at line 1041 of file Entity.cpp.
References entity_id, and entity_mutex.
| void Botcraft::Entity::SetEquipment | ( | const EquipmentSlot | slot, |
| const ProtocolCraft::Slot & | item | ||
| ) |
Definition at line 1188 of file Entity.cpp.
References entity_mutex, and equipments.
|
protected |
Definition at line 366 of file Entity.cpp.
References entity_mutex, and SetMetadataImpl().
Referenced by LoadMetadataFromRawArray(), Botcraft::AgeableMobEntity::SetAgeLocked(), Botcraft::TadpoleEntity::SetAgeLocked(), Botcraft::ArmadilloEntity::SetArmadilloState(), Botcraft::CreakingEntity::SetCanMove(), Botcraft::WardenEntity::SetClientAngerLevel(), Botcraft::CopperGolemEntity::SetCopperGolemState(), Botcraft::CamelEntity::SetDash(), SetDataAirSupplyId(), Botcraft::BeeEntity::SetDataAngerEndTime(), Botcraft::WolfEntity::SetDataAngerEndTime(), Botcraft::LivingEntity::SetDataArrowCountId(), Botcraft::FireworkRocketEntity::SetDataAttachedToTarget(), Botcraft::ShulkerEntity::SetDataAttachFaceId(), Botcraft::AgeableMobEntity::SetDataBabyId(), Botcraft::PiglinEntity::SetDataBabyId(), Botcraft::ZoglinEntity::SetDataBabyId(), Botcraft::ZombieEntity::SetDataBabyId(), Botcraft::DisplayTextDisplayEntity::SetDataBackgroundColorId(), Botcraft::EndCrystalEntity::SetDataBeamTarget(), Botcraft::DisplayEntity::SetDataBillboardRenderConstraintsId(), Botcraft::FishingHookEntity::SetDataBiting(), Botcraft::DisplayBlockDisplayEntity::SetDataBlockStateId(), Botcraft::PrimedTntEntity::SetDataBlockStateId(), Botcraft::ArmorStandEntity::SetDataBodyPose(), Botcraft::PigEntity::SetDataBoostTime(), Botcraft::StriderEntity::SetDataBoostTime(), Botcraft::DisplayEntity::SetDataBrightnessOverrideId(), Botcraft::AllayEntity::SetDataCanDuplicate(), Botcraft::EnderManEntity::SetDataCarryState(), Botcraft::ArmorStandEntity::SetDataClientFlags(), Botcraft::CatEntity::SetDataCollarColor(), Botcraft::WolfEntity::SetDataCollarColor(), Botcraft::CushionEntity::SetDataColor(), Botcraft::ShulkerEntity::SetDataColorId(), Botcraft::ZombieVillagerEntity::SetDataConvertingId(), Botcraft::EnderManEntity::SetDataCreepy(), SetDataCustomName(), SetDataCustomNameVisible(), Botcraft::AllayEntity::SetDataDancing(), Botcraft::WitherSkullEntity::SetDataDangerous(), Botcraft::GlowSquidEntity::SetDataDarkTicksRemaining(), Botcraft::AbstractNautilusEntity::SetDataDash(), Botcraft::MannequinEntity::SetDataDescription(), Botcraft::HangingEntity::SetDataDirection(), Botcraft::SnifferEntity::SetDataDropSeedAtTick(), Botcraft::ZombieEntity::SetDataDrownedConversionId(), Botcraft::LivingEntity::SetDataEffectAmbienceId(), Botcraft::LivingEntity::SetDataEffectParticles(), Botcraft::BeeEntity::SetDataFlagsId(), Botcraft::FoxEntity::SetDataFlagsId(), Botcraft::IronGolemEntity::SetDataFlagsId(), Botcraft::BlazeEntity::SetDataFlagsId(), Botcraft::SpiderEntity::SetDataFlagsId(), Botcraft::VexEntity::SetDataFlagsId(), Botcraft::TamableAnimalEntity::SetDataFlagsId(), Botcraft::PrimedTntEntity::SetDataFuseId(), Botcraft::DisplayEntity::SetDataGlowColorOverrideId(), Botcraft::GoatEntity::SetDataHasLeftHorn(), Botcraft::GoatEntity::SetDataHasRightHorn(), Botcraft::ArmorStandEntity::SetDataHeadPose(), Botcraft::LivingEntity::SetDataHealthId(), Botcraft::DisplayEntity::SetDataHeightId(), Botcraft::InteractionEntity::SetDataHeightId(), Botcraft::FishingHookEntity::SetDataHookedEntity(), Botcraft::GuardianEntity::SetDataIdAttackTarget(), Botcraft::AbstractBoatEntity::SetDataIdBubbleTime(), Botcraft::AbstractChestedHorseEntity::SetDataIdChest(), Botcraft::MinecartCommandBlockEntity::SetDataIdCommandName(), Botcraft::AbstractMinecartEntity::SetDataIdCustomDisplayBlock(), Botcraft::VehicleEntity::SetDataIdDamage(), Botcraft::AbstractMinecartEntity::SetDataIdDisplayOffset(), Botcraft::FireworkRocketEntity::SetDataIdFireworksItem(), Botcraft::BatEntity::SetDataIdFlags(), Botcraft::AbstractHorseEntity::SetDataIdFlags(), Botcraft::PandaEntity::SetDataIdFlags(), Botcraft::MinecartFurnaceEntity::SetDataIdFuel(), Botcraft::VehicleEntity::SetDataIdHurt(), Botcraft::VehicleEntity::SetDataIdHurtdir(), Botcraft::WitherBossEntity::SetDataIdInv(), Botcraft::MinecartCommandBlockEntity::SetDataIdLastOutput(), Botcraft::GuardianEntity::SetDataIdMoving(), Botcraft::AbstractBoatEntity::SetDataIdPaddleLeft(), Botcraft::AbstractBoatEntity::SetDataIdPaddleRight(), Botcraft::HorseEntity::SetDataIdTypeVariant(), Botcraft::TropicalFishEntity::SetDataIdTypeVariant(), Botcraft::MannequinEntity::SetDataImmovable(), Botcraft::HoglinEntity::SetDataImmuneToZombification(), Botcraft::AbstractPiglinEntity::SetDataImmuneToZombification(), Botcraft::WolfEntity::SetDataInterestedId(), Botcraft::GhastEntity::SetDataIsCharging(), Botcraft::PiglinEntity::SetDataIsChargingCrossbow(), Botcraft::PiglinEntity::SetDataIsDancing(), Botcraft::CreeperEntity::SetDataIsIgnited(), Botcraft::CreeperEntity::SetDataIsPowered(), Botcraft::GoatEntity::SetDataIsScreamingGoat(), Botcraft::ItemFrameEntity::SetDataItem(), Botcraft::ItemEntity::SetDataItem(), Botcraft::OminousItemSpawnerEntity::SetDataItem(), Botcraft::DisplayItemDisplayEntity::SetDataItemDisplayId(), Botcraft::EyeOfEnderEntity::SetDataItemStack(), Botcraft::FireballEntity::SetDataItemStack(), Botcraft::ThrowableItemProjectileEntity::SetDataItemStack(), Botcraft::DisplayItemDisplayEntity::SetDataItemStackId(), Botcraft::ArmorStandEntity::SetDataLeftArmPose(), Botcraft::ArmorStandEntity::SetDataLeftLegPose(), Botcraft::DisplayEntity::SetDataLeftRotationId(), Botcraft::DisplayTextDisplayEntity::SetDataLineWidthId(), Botcraft::LivingEntity::SetDataLivingEntityFlags(), Botcraft::MobEntity::SetDataMobFlagsId(), SetDataNoGravity(), Botcraft::TamableAnimalEntity::SetDataOwneruuidId(), Botcraft::PaintingEntity::SetDataPaintingVariantId(), Botcraft::AreaEffectCloudEntity::SetDataParticle(), Botcraft::ShulkerEntity::SetDataPeekId(), Botcraft::EnderDragonEntity::SetDataPhase(), Botcraft::PlayerEntity::SetDataPlayerAbsorptionId(), Botcraft::AvatarEntity::SetDataPlayerMainHand(), Botcraft::AvatarEntity::SetDataPlayerModeCustomisation(), Botcraft::AxolotlEntity::SetDataPlayingDead(), SetDataPose(), Botcraft::DisplayEntity::SetDataPosRotInterpolationDurationId(), Botcraft::MannequinEntity::SetDataProfile(), Botcraft::SnowGolemEntity::SetDataPumpkinId(), Botcraft::AreaEffectCloudEntity::SetDataRadius(), Botcraft::InteractionEntity::SetDataResponseId(), Botcraft::ArmorStandEntity::SetDataRightArmPose(), Botcraft::ArmorStandEntity::SetDataRightLegPose(), Botcraft::DisplayEntity::SetDataRightRotationId(), Botcraft::ItemFrameEntity::SetDataRotation(), Botcraft::DisplayEntity::SetDataScaleId(), Botcraft::PlayerEntity::SetDataScoreId(), Botcraft::DisplayEntity::SetDataShadowRadiusId(), Botcraft::DisplayEntity::SetDataShadowStrengthId(), Botcraft::BoggedEntity::SetDataSheared(), Botcraft::FireworkRocketEntity::SetDataShotAtAngle(), Botcraft::PlayerEntity::SetDataShoulderParrotLeft(), Botcraft::PlayerEntity::SetDataShoulderParrotRight(), Botcraft::EndCrystalEntity::SetDataShowBottom(), SetDataSilent(), Botcraft::ChickenEntity::SetDataSoundVariantId(), Botcraft::CowEntity::SetDataSoundVariantId(), Botcraft::CatEntity::SetDataSoundVariantId(), Botcraft::PigEntity::SetDataSoundVariantId(), Botcraft::WolfEntity::SetDataSoundVariantId(), Botcraft::ZombieEntity::SetDataSpecialTypeId(), Botcraft::SpellcasterIllagerEntity::SetDataSpellCastingId(), Botcraft::PolarBearEntity::SetDataStandingId(), Botcraft::EnderManEntity::SetDataStaredAt(), Botcraft::FallingBlockEntity::SetDataStartPos(), Botcraft::SnifferEntity::SetDataState(), Botcraft::LivingEntity::SetDataStingerCountId(), Botcraft::SkeletonEntity::SetDataStrayConversionId(), Botcraft::LlamaEntity::SetDataStrengthId(), Botcraft::DisplayTextDisplayEntity::SetDataStyleFlagsId(), Botcraft::StriderEntity::SetDataSuffocating(), Botcraft::CreeperEntity::SetDataSwellDir(), Botcraft::WitherBossEntity::SetDataTargetA(), Botcraft::WitherBossEntity::SetDataTargetB(), Botcraft::WitherBossEntity::SetDataTargetC(), Botcraft::DisplayTextDisplayEntity::SetDataTextId(), Botcraft::DisplayTextDisplayEntity::SetDataTextOpacityId(), SetDataTicksFrozen(), Botcraft::FrogEntity::SetDataTongueTargetId(), Botcraft::DisplayEntity::SetDataTransformationInterpolationDurationId(), Botcraft::DisplayEntity::SetDataTransformationInterpolationStartDeltaTicksId(), Botcraft::DisplayEntity::SetDataTranslationId(), Botcraft::FoxEntity::SetDataTrustedId0(), Botcraft::FoxEntity::SetDataTrustedId1(), Botcraft::OcelotEntity::SetDataTrusting(), Botcraft::MushroomCowEntity::SetDataType(), Botcraft::CatEntity::SetDataTypeId(), Botcraft::FoxEntity::SetDataTypeId(), Botcraft::RabbitEntity::SetDataTypeId(), Botcraft::AbstractVillagerEntity::SetDataUnhappyCounter(), Botcraft::WitchEntity::SetDataUsingItem(), Botcraft::ExperienceOrbEntity::SetDataValue(), Botcraft::AxolotlEntity::SetDataVariant(), Botcraft::ChickenEntity::SetDataVariantId(), Botcraft::CowEntity::SetDataVariantId(), Botcraft::LlamaEntity::SetDataVariantId(), Botcraft::FrogEntity::SetDataVariantId(), Botcraft::ZombieNautilusEntity::SetDataVariantId(), Botcraft::ParrotEntity::SetDataVariantId(), Botcraft::PigEntity::SetDataVariantId(), Botcraft::WolfEntity::SetDataVariantId(), Botcraft::DisplayEntity::SetDataViewRangeId(), Botcraft::ZombieVillagerEntity::SetDataVillagerData(), Botcraft::VillagerEntity::SetDataVillagerData(), Botcraft::ZombieVillagerEntity::SetDataVillagerDataFinalized(), Botcraft::VillagerEntity::SetDataVillagerDataFinalized(), Botcraft::AreaEffectCloudEntity::SetDataWaiting(), Botcraft::DisplayEntity::SetDataWidthId(), Botcraft::InteractionEntity::SetDataWidthId(), Botcraft::SheepEntity::SetDataWoolId(), Botcraft::PandaEntity::SetEatCounter(), Botcraft::AxolotlEntity::SetFromBucket(), Botcraft::AbstractFishEntity::SetFromBucket(), Botcraft::SulfurCubeEntity::SetFromBucket(), Botcraft::DolphinEntity::SetGotFish(), Botcraft::TurtleEntity::SetHasEgg(), Botcraft::PandaEntity::SetHiddenGeneId(), Botcraft::CreakingEntity::SetHomePos(), Botcraft::ArrowEntity::SetIdEffectColor(), Botcraft::AbstractArrowEntity::SetIdFlags(), Botcraft::ThrownTridentEntity::SetIdFoil(), Botcraft::ThrownTridentEntity::SetIdLoyalty(), Botcraft::AbstractCubeMobEntity::SetIdSize(), Botcraft::PhantomEntity::SetIdSize(), Botcraft::AbstractArrowEntity::SetInGround(), Botcraft::CreakingEntity::SetIsActive(), Botcraft::RaiderEntity::SetIsCelebrating(), Botcraft::PillagerEntity::SetIsChargingCrossbow(), Botcraft::HappyGhastEntity::SetIsLeashHolder(), Botcraft::CatEntity::SetIsLying(), Botcraft::CreakingEntity::SetIsTearingDown(), Botcraft::CamelEntity::SetLastPoseChangeTick(), Botcraft::TurtleEntity::SetLayingEgg(), Botcraft::PandaEntity::SetMainGeneId(), Botcraft::SulfurCubeEntity::SetMaxFuse(), Botcraft::DolphinEntity::SetMoistnessLevel(), Botcraft::AbstractArrowEntity::SetPierceLevel(), Botcraft::PufferfishEntity::SetPuffState(), Botcraft::CatEntity::SetRelaxStateOne(), Botcraft::LivingEntity::SetSleepingPosId(), Botcraft::PandaEntity::SetSneezeCounter(), Botcraft::HappyGhastEntity::SetStaysStill(), and Botcraft::PandaEntity::SetUnhappyCounter().
|
protected |
Definition at line 356 of file Entity.cpp.
References GetName(), metadata, and OnMetadataChangedImpl().
Referenced by SetDataPoseImpl(), SetDataSharedFlagsIdImpl(), and SetMetadata().
| void Botcraft::Entity::SetOnGround | ( | const bool | on_ground_ | ) |
Definition at line 1182 of file Entity.cpp.
References entity_mutex, and on_ground.
|
virtual |
Reimplemented in Botcraft::LocalPlayer.
Definition at line 1136 of file Entity.cpp.
References are_rendered_faces_up_to_date, entity_mutex, face_descriptors, faces, and pitch.
|
virtual |
Reimplemented in Botcraft::LocalPlayer.
Definition at line 1053 of file Entity.cpp.
References are_rendered_faces_up_to_date, entity_mutex, face_descriptors, faces, position, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
| void Botcraft::Entity::SetSpeed | ( | const Vector3< double > & | speed_ | ) |
Definition at line 1158 of file Entity.cpp.
References entity_mutex, and speed.
| void Botcraft::Entity::SetSpeedX | ( | const double | speed_x_ | ) |
Definition at line 1164 of file Entity.cpp.
References entity_mutex, speed, and Botcraft::Vector3< T >::x.
| void Botcraft::Entity::SetSpeedY | ( | const double | speed_y_ | ) |
Definition at line 1170 of file Entity.cpp.
References entity_mutex, speed, and Botcraft::Vector3< T >::y.
| void Botcraft::Entity::SetSpeedZ | ( | const double | speed_z_ | ) |
Definition at line 1176 of file Entity.cpp.
References entity_mutex, speed, and Botcraft::Vector3< T >::z.
| void Botcraft::Entity::SetUUID | ( | const ProtocolCraft::UUID & | uuid_ | ) |
Definition at line 1047 of file Entity.cpp.
References entity_mutex, and uuid.
|
virtual |
Reimplemented in Botcraft::LocalPlayer.
Definition at line 1072 of file Entity.cpp.
References are_rendered_faces_up_to_date, entity_mutex, face_descriptors, faces, position, and Botcraft::Vector3< T >::x.
|
virtual |
Reimplemented in Botcraft::LocalPlayer.
Definition at line 1088 of file Entity.cpp.
References are_rendered_faces_up_to_date, entity_mutex, face_descriptors, faces, position, and Botcraft::Vector3< T >::y.
|
virtual |
Reimplemented in Botcraft::LocalPlayer.
Definition at line 1120 of file Entity.cpp.
References are_rendered_faces_up_to_date, entity_mutex, face_descriptors, faces, and yaw.
|
virtual |
Reimplemented in Botcraft::LocalPlayer.
Definition at line 1104 of file Entity.cpp.
References are_rendered_faces_up_to_date, entity_mutex, face_descriptors, faces, position, and Botcraft::Vector3< T >::z.
|
protected |
Definition at line 342 of file Entity.hpp.
Referenced by GetAreRenderedFacesUpToDate(), GetFaces(), InitializeFaces(), OnSizeUpdated(), SetAreRenderedFacesUpToDate(), SetPitch(), SetPosition(), SetX(), SetY(), SetYaw(), and SetZ().
|
protected |
Definition at line 333 of file Entity.hpp.
Referenced by AddEffect(), GetEffects(), RemoveEffect(), and SetEffects().
|
protected |
Definition at line 322 of file Entity.hpp.
Referenced by Entity(), GetEntityID(), Serialize(), and SetEntityID().
|
mutableprotected |
Definition at line 320 of file Entity.hpp.
Referenced by Botcraft::LivingEntity::AddAttribute(), AddEffect(), Botcraft::LocalPlayer::AddInputsForward(), Botcraft::LocalPlayer::AddInputsLeft(), AddSpeed(), Botcraft::LivingEntity::ClearModifiers(), Entity(), Botcraft::LocalPlayer::GetAbilitiesFlags(), GetAreRenderedFacesUpToDate(), Botcraft::LivingEntity::GetAttribute(), Botcraft::LivingEntity::GetAttributeAirDragModifierValue(), Botcraft::LivingEntity::GetAttributeArmorToughnessValue(), Botcraft::LivingEntity::GetAttributeArmorValue(), Botcraft::AllayEntity::GetAttributeAttackDamageValue(), Botcraft::AxolotlEntity::GetAttributeAttackDamageValue(), Botcraft::BeeEntity::GetAttributeAttackDamageValue(), Botcraft::DolphinEntity::GetAttributeAttackDamageValue(), Botcraft::CatEntity::GetAttributeAttackDamageValue(), Botcraft::OcelotEntity::GetAttributeAttackDamageValue(), Botcraft::FoxEntity::GetAttributeAttackDamageValue(), Botcraft::FrogEntity::GetAttributeAttackDamageValue(), Botcraft::GoatEntity::GetAttributeAttackDamageValue(), Botcraft::IronGolemEntity::GetAttributeAttackDamageValue(), Botcraft::AbstractNautilusEntity::GetAttributeAttackDamageValue(), Botcraft::PandaEntity::GetAttributeAttackDamageValue(), Botcraft::ParrotEntity::GetAttributeAttackDamageValue(), Botcraft::PolarBearEntity::GetAttributeAttackDamageValue(), Botcraft::RabbitEntity::GetAttributeAttackDamageValue(), Botcraft::WolfEntity::GetAttributeAttackDamageValue(), Botcraft::HoglinEntity::GetAttributeAttackDamageValue(), Botcraft::MonsterEntity::GetAttributeAttackDamageValue(), Botcraft::PlayerEntity::GetAttributeAttackDamageValue(), Botcraft::LivingEntity::GetAttributeAttackKnockbackValue(), Botcraft::PlayerEntity::GetAttributeAttackSpeedValue(), Botcraft::LivingEntity::GetAttributeBelowNameDistanceValue(), Botcraft::LivingEntity::GetAttributeBouncinessValue(), Botcraft::LivingEntity::GetAttributeBurningTimeValue(), Botcraft::LivingEntity::GetAttributeCameraDistanceValue(), Botcraft::LivingEntity::GetAttributeEntityInteractionRangeValue(), Botcraft::LivingEntity::GetAttributeExplosionKnockbackResistanceValue(), Botcraft::LivingEntity::GetAttributeFallDamageMultiplierValue(), Botcraft::AllayEntity::GetAttributeFlyingSpeedValue(), Botcraft::BeeEntity::GetAttributeFlyingSpeedValue(), Botcraft::HappyGhastEntity::GetAttributeFlyingSpeedValue(), Botcraft::ParrotEntity::GetAttributeFlyingSpeedValue(), Botcraft::WitherBossEntity::GetAttributeFlyingSpeedValue(), Botcraft::GhastEntity::GetAttributeFlyingSpeedValue(), Botcraft::MobEntity::GetAttributeFollowRangeValue(), Botcraft::LivingEntity::GetAttributeFrictionModifierValue(), Botcraft::LivingEntity::GetAttributeGravityValue(), Botcraft::LivingEntity::GetAttributeJumpStrengthValue(), Botcraft::LivingEntity::GetAttributeKnockbackResistanceValue(), Botcraft::PlayerEntity::GetAttributeLuckValue(), Botcraft::LivingEntity::GetAttributeMaxAbsorptionValue(), Botcraft::LivingEntity::GetAttributeMaxHealthValue(), Botcraft::LivingEntity::GetAttributeMovementEfficiencyValue(), Botcraft::LivingEntity::GetAttributeMovementSpeedValue(), Botcraft::LivingEntity::GetAttributeNameTagDistanceValue(), Botcraft::LivingEntity::GetAttributeOxygenBonusValue(), Botcraft::PlayerEntity::GetAttributePlayerBlockBreakSpeedValue(), Botcraft::PlayerEntity::GetAttributePlayerBlockInteractionRangeValue(), Botcraft::PlayerEntity::GetAttributePlayerMiningEfficiencyValue(), Botcraft::PlayerEntity::GetAttributePlayerSneakingSpeedValue(), Botcraft::PlayerEntity::GetAttributePlayerSubmergedMiningSpeedValue(), Botcraft::PlayerEntity::GetAttributePlayerSweepingDamageRatioValue(), Botcraft::LivingEntity::GetAttributeSafeFallDistanceValue(), Botcraft::LivingEntity::GetAttributeScaleValue(), Botcraft::ZombieEntity::GetAttributeSpawnReinforcementsChanceValue(), Botcraft::LivingEntity::GetAttributeStepHeightValue(), Botcraft::AnimalEntity::GetAttributeTemptRangeValue(), Botcraft::SulfurCubeEntity::GetAttributeTemptRangeValue(), Botcraft::LivingEntity::GetAttributeWaterMovementEfficiencyValue(), Botcraft::PlayerEntity::GetAttributeWaypointReceiveRangeValue(), Botcraft::LivingEntity::GetAttributeWaypointTransmitRangeValue(), GetCollider(), Botcraft::PlayerEntity::GetCollider(), Botcraft::LivingEntity::GetDataLivingEntityFlags(), Botcraft::AreaEffectCloudEntity::GetDataRadius(), GetDataSharedFlagsId(), GetDataSharedFlagsId(), Botcraft::SalmonEntity::GetDataType(), Botcraft::LocalPlayer::GetDirtyInputs(), GetEffects(), GetEntityID(), GetEquipment(), GetEquipments(), Botcraft::PlayerEntity::GetEyeHeight(), GetFaces(), Botcraft::LocalPlayer::GetFlying(), Botcraft::LocalPlayer::GetFlyingSpeed(), Botcraft::LocalPlayer::GetFood(), Botcraft::LocalPlayer::GetFoodSaturation(), Botcraft::LocalPlayer::GetFrontVector(), Botcraft::LocalPlayer::GetGameMode(), Botcraft::LocalPlayer::GetHealth(), GetHeight(), Botcraft::AbstractCubeMobEntity::GetIdSize(), Botcraft::LocalPlayer::GetInstabuild(), Botcraft::LocalPlayer::GetInvulnerable(), Botcraft::LocalPlayer::GetMayBuild(), Botcraft::LocalPlayer::GetMayFly(), GetMetadata(), GetOnGround(), GetPitch(), GetPosition(), Botcraft::LocalPlayer::GetRightVector(), Botcraft::LivingEntity::GetSleepingPosId(), GetSpeed(), GetSpeedX(), GetSpeedY(), GetSpeedZ(), GetUUID(), Botcraft::LocalPlayer::GetWalkingSpeed(), GetWidth(), GetX(), Botcraft::LocalPlayer::GetXZVector(), GetY(), GetYaw(), GetZ(), InitializeFaces(), Botcraft::LocalPlayer::IsClimbing(), Botcraft::LocalPlayer::IsInFluid(), Botcraft::LocalPlayer::IsInLava(), Botcraft::LocalPlayer::IsInWater(), Botcraft::LocalPlayer::LocalPlayer(), Botcraft::LocalPlayer::LookAt(), Botcraft::LivingEntity::RemoveAttributeModifier(), RemoveEffect(), Serialize(), Botcraft::LocalPlayer::SetAbilitiesFlags(), SetAreRenderedFacesUpToDate(), Botcraft::LivingEntity::SetAttributeBaseValue(), Botcraft::LivingEntity::SetAttributeModifier(), SetDataSharedFlagsId(), SetDataSharedFlagsId(), Botcraft::LocalPlayer::SetDirtyInputs(), SetEffects(), SetEntityID(), SetEquipment(), Botcraft::LocalPlayer::SetFlyingSpeed(), Botcraft::LocalPlayer::SetFood(), Botcraft::LocalPlayer::SetFoodSaturation(), Botcraft::LocalPlayer::SetGameMode(), Botcraft::LocalPlayer::SetHealth(), Botcraft::LocalPlayer::SetInputs(), Botcraft::LocalPlayer::SetInputsForward(), Botcraft::LocalPlayer::SetInputsJump(), Botcraft::LocalPlayer::SetInputsLeft(), Botcraft::LocalPlayer::SetInputsSneak(), Botcraft::LocalPlayer::SetInputsSprint(), SetMetadata(), SetOnGround(), SetPitch(), Botcraft::LocalPlayer::SetPitch(), Botcraft::LocalPlayer::SetPosition(), SetPosition(), SetSpeed(), SetSpeedX(), SetSpeedY(), SetSpeedZ(), SetUUID(), Botcraft::LocalPlayer::SetWalkingSpeed(), Botcraft::LocalPlayer::SetX(), SetX(), Botcraft::LocalPlayer::SetY(), SetY(), SetYaw(), Botcraft::LocalPlayer::SetYaw(), Botcraft::LocalPlayer::SetZ(), and SetZ().
|
protected |
Items on this entity.
Note that for the local player this will NOT be populated. Check corresponding player inventory slots instead.
Definition at line 332 of file Entity.hpp.
Referenced by Entity(), GetEquipment(), GetEquipments(), Serialize(), and SetEquipment().
|
protected |
Definition at line 339 of file Entity.hpp.
Referenced by GetFaces(), InitializeFaces(), OnSizeUpdated(), SetPitch(), SetPosition(), SetX(), SetY(), SetYaw(), and SetZ().
|
protected |
Definition at line 340 of file Entity.hpp.
Referenced by GetFaces(), InitializeFaces(), OnSizeUpdated(), SetPitch(), SetPosition(), SetX(), SetY(), SetYaw(), and SetZ().
|
staticconstexprprotected |
Definition at line 73 of file Entity.hpp.
Referenced by Entity().
|
protected |
Definition at line 335 of file Entity.hpp.
Referenced by Botcraft::AbstractArrowEntity::AbstractArrowEntity(), Botcraft::AbstractBoatEntity::AbstractBoatEntity(), Botcraft::AbstractChestedHorseEntity::AbstractChestedHorseEntity(), Botcraft::AbstractCubeMobEntity::AbstractCubeMobEntity(), Botcraft::AbstractFishEntity::AbstractFishEntity(), Botcraft::AbstractHorseEntity::AbstractHorseEntity(), Botcraft::AbstractIllagerEntity::AbstractIllagerEntity(), Botcraft::AbstractMinecartEntity::AbstractMinecartEntity(), Botcraft::AbstractNautilusEntity::AbstractNautilusEntity(), Botcraft::AbstractPiglinEntity::AbstractPiglinEntity(), Botcraft::AbstractSkeletonEntity::AbstractSkeletonEntity(), Botcraft::AbstractVillagerEntity::AbstractVillagerEntity(), Botcraft::AgeableMobEntity::AgeableMobEntity(), Botcraft::AllayEntity::AllayEntity(), Botcraft::AreaEffectCloudEntity::AreaEffectCloudEntity(), Botcraft::ArmadilloEntity::ArmadilloEntity(), Botcraft::ArmorStandEntity::ArmorStandEntity(), Botcraft::ArrowEntity::ArrowEntity(), Botcraft::AvatarEntity::AvatarEntity(), Botcraft::AxolotlEntity::AxolotlEntity(), Botcraft::BatEntity::BatEntity(), Botcraft::BeeEntity::BeeEntity(), Botcraft::BlazeEntity::BlazeEntity(), Botcraft::BoatEntity::BoatEntity(), Botcraft::BoggedEntity::BoggedEntity(), Botcraft::CamelEntity::CamelEntity(), Botcraft::CatEntity::CatEntity(), Botcraft::ChickenEntity::ChickenEntity(), Botcraft::CopperGolemEntity::CopperGolemEntity(), Botcraft::CowEntity::CowEntity(), Botcraft::CreakingEntity::CreakingEntity(), Botcraft::CreeperEntity::CreeperEntity(), Botcraft::CushionEntity::CushionEntity(), Botcraft::DisplayBlockDisplayEntity::DisplayBlockDisplayEntity(), Botcraft::DisplayEntity::DisplayEntity(), Botcraft::DisplayItemDisplayEntity::DisplayItemDisplayEntity(), Botcraft::DisplayTextDisplayEntity::DisplayTextDisplayEntity(), Botcraft::DolphinEntity::DolphinEntity(), Botcraft::EndCrystalEntity::EndCrystalEntity(), Botcraft::EnderDragonEntity::EnderDragonEntity(), Botcraft::EnderManEntity::EnderManEntity(), Entity(), Botcraft::ExperienceOrbEntity::ExperienceOrbEntity(), Botcraft::EyeOfEnderEntity::EyeOfEnderEntity(), Botcraft::FallingBlockEntity::FallingBlockEntity(), Botcraft::FireballEntity::FireballEntity(), Botcraft::FireworkRocketEntity::FireworkRocketEntity(), Botcraft::FishingHookEntity::FishingHookEntity(), Botcraft::FoxEntity::FoxEntity(), Botcraft::FrogEntity::FrogEntity(), GetMetadataImpl(), Botcraft::GhastEntity::GhastEntity(), Botcraft::GlowSquidEntity::GlowSquidEntity(), Botcraft::GoatEntity::GoatEntity(), Botcraft::GuardianEntity::GuardianEntity(), Botcraft::HangingEntity::HangingEntity(), Botcraft::HappyGhastEntity::HappyGhastEntity(), Botcraft::HoglinEntity::HoglinEntity(), Botcraft::HorseEntity::HorseEntity(), Botcraft::InteractionEntity::InteractionEntity(), Botcraft::IronGolemEntity::IronGolemEntity(), Botcraft::ItemEntity::ItemEntity(), Botcraft::ItemFrameEntity::ItemFrameEntity(), Botcraft::LivingEntity::LivingEntity(), Botcraft::LlamaEntity::LlamaEntity(), Botcraft::MannequinEntity::MannequinEntity(), Botcraft::MinecartCommandBlockEntity::MinecartCommandBlockEntity(), Botcraft::MinecartFurnaceEntity::MinecartFurnaceEntity(), Botcraft::MobEntity::MobEntity(), Botcraft::MushroomCowEntity::MushroomCowEntity(), Botcraft::OcelotEntity::OcelotEntity(), Botcraft::OminousItemSpawnerEntity::OminousItemSpawnerEntity(), Botcraft::PaintingEntity::PaintingEntity(), Botcraft::PandaEntity::PandaEntity(), Botcraft::ParrotEntity::ParrotEntity(), Botcraft::PhantomEntity::PhantomEntity(), Botcraft::PigEntity::PigEntity(), Botcraft::PiglinEntity::PiglinEntity(), Botcraft::PillagerEntity::PillagerEntity(), Botcraft::PlayerEntity::PlayerEntity(), Botcraft::PolarBearEntity::PolarBearEntity(), Botcraft::PrimedTntEntity::PrimedTntEntity(), Botcraft::PufferfishEntity::PufferfishEntity(), Botcraft::RabbitEntity::RabbitEntity(), Botcraft::RaiderEntity::RaiderEntity(), Botcraft::SalmonEntity::SalmonEntity(), SetMetadataImpl(), Botcraft::SheepEntity::SheepEntity(), Botcraft::ShulkerEntity::ShulkerEntity(), Botcraft::SkeletonEntity::SkeletonEntity(), Botcraft::SlimeEntity::SlimeEntity(), Botcraft::SnifferEntity::SnifferEntity(), Botcraft::SnowGolemEntity::SnowGolemEntity(), Botcraft::SpellcasterIllagerEntity::SpellcasterIllagerEntity(), Botcraft::SpiderEntity::SpiderEntity(), Botcraft::StriderEntity::StriderEntity(), Botcraft::SulfurCubeEntity::SulfurCubeEntity(), Botcraft::TadpoleEntity::TadpoleEntity(), Botcraft::TamableAnimalEntity::TamableAnimalEntity(), Botcraft::ThrowableItemProjectileEntity::ThrowableItemProjectileEntity(), Botcraft::ThrownTridentEntity::ThrownTridentEntity(), Botcraft::TropicalFishEntity::TropicalFishEntity(), Botcraft::TurtleEntity::TurtleEntity(), Botcraft::VehicleEntity::VehicleEntity(), Botcraft::VexEntity::VexEntity(), Botcraft::VillagerEntity::VillagerEntity(), Botcraft::WardenEntity::WardenEntity(), Botcraft::WitchEntity::WitchEntity(), Botcraft::WitherBossEntity::WitherBossEntity(), Botcraft::WitherSkullEntity::WitherSkullEntity(), Botcraft::WolfEntity::WolfEntity(), Botcraft::ZoglinEntity::ZoglinEntity(), Botcraft::ZombieEntity::ZombieEntity(), Botcraft::ZombieNautilusEntity::ZombieNautilusEntity(), and Botcraft::ZombieVillagerEntity::ZombieVillagerEntity().
|
staticconstexprprotected |
Definition at line 72 of file Entity.hpp.
Referenced by Entity().
|
staticconstexprprivate |
Definition at line 57 of file Entity.hpp.
|
protected |
Definition at line 328 of file Entity.hpp.
Referenced by Entity(), GetOnGround(), Serialize(), and SetOnGround().
|
protected |
Definition at line 326 of file Entity.hpp.
Referenced by Entity(), Botcraft::LocalPlayer::GetFrontVectorImpl(), Botcraft::LocalPlayer::GetFrontVectorXImpl(), Botcraft::LocalPlayer::GetFrontVectorYImpl(), Botcraft::LocalPlayer::GetFrontVectorZImpl(), GetPitch(), InitializeFaces(), Botcraft::LocalPlayer::LookAt(), Serialize(), SetPitch(), and Botcraft::LocalPlayer::SetPitch().
|
protected |
Definition at line 324 of file Entity.hpp.
Referenced by Entity(), GetColliderImpl(), Botcraft::PlayerEntity::GetColliderImpl(), GetPosition(), GetX(), GetY(), GetZ(), InitializeFaces(), LoadMetadataFromRawArray(), Botcraft::LocalPlayer::LocalPlayer(), Botcraft::LocalPlayer::LookAt(), Serialize(), Botcraft::LocalPlayer::SetPosition(), SetPosition(), Botcraft::LocalPlayer::SetX(), SetX(), Botcraft::LocalPlayer::SetY(), SetY(), Botcraft::LocalPlayer::SetZ(), and SetZ().
|
protected |
Definition at line 327 of file Entity.hpp.
Referenced by AddSpeed(), Entity(), GetSpeed(), GetSpeedX(), GetSpeedY(), GetSpeedZ(), Serialize(), SetSpeed(), SetSpeedX(), SetSpeedY(), and SetSpeedZ().
|
protected |
Definition at line 323 of file Entity.hpp.
|
protected |
Definition at line 325 of file Entity.hpp.
Referenced by Entity(), Botcraft::LocalPlayer::GetFrontVectorImpl(), Botcraft::LocalPlayer::GetFrontVectorXImpl(), Botcraft::LocalPlayer::GetFrontVectorZImpl(), Botcraft::LocalPlayer::GetRightVectorImpl(), Botcraft::LocalPlayer::GetXZVectorImpl(), GetYaw(), InitializeFaces(), Botcraft::LocalPlayer::LookAt(), Serialize(), SetYaw(), and Botcraft::LocalPlayer::SetYaw().