3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/renderer/game/LevelRendererCameraListeners.h"
7#include "mc/common/SubClientId.h"
8#include "mc/comprehensive/ParticleType.h"
9#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
11#include "mc/deps/shared_types/legacy/LevelEvent.h"
12#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
13#include "mc/world/level/FogDefinition.h"
60namespace mce {
class Color; }
61namespace mce {
class MaterialPtr; }
62namespace mce {
struct Camera; }
63namespace mce::framebuilder {
struct SkyWeatherParameters; }
209 virtual void initResources() ;
215 virtual void tickLevelRendererCamera() ;
218 virtual void tickRain() ;
221 virtual void onWillChangeDimension(
::Player& player) ;
224 virtual void onDimensionChanged(
::Player& player) ;
227 virtual void recalculateRenderDistance(
float const renderDistanceScalar) ;
230 virtual void preRenderUpdate(
243 virtual ::NameTagRenderObjectCollection extractNameTags(
::ScreenContext& screenContext)
const ;
250 virtual ::CrackRenderObjectCollection extractCracks(
::ScreenContext& screenContext)
const ;
257 virtual bool getForceFog(
::Actor const& cameraActor)
const ;
260 virtual void setupFog(
::ScreenContext& screenContext,
float const skyIntensityOverride) ;
263 virtual void levelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data) ;
266 virtual void levelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data) ;
269 virtual void addCameraListenerToRenderChunkCoordinator() ;
273 notifyGeoChangedForAffectedEntities(
::RenderChunkShared& renderChunkShared, uchar version) ;
276 virtual void addTerrainParticleEffect(
279 ::Vec3 const& emitterPosition,
281 float velocityScalar,
286 virtual void addTerrainSlideEffect(
289 ::Vec3 const& emitterPosition,
291 float velocityScalar,
296 virtual void addBreakingItemParticleEffect(
303 virtual void addBiomeTintedParticleEffect(
307 ::std::optional<::mce::Color> overrideColor
311 virtual float getUnderwaterVisionClarity();
314 virtual ::FogDefinition::DistanceSettingType _getFogDistanceSettingType() const ;
317 virtual ::
FogDefinition::DensitySettingType _getFogDensitySettingType() const ;
320 virtual
void _releaseRespectiveResources() ;
323 virtual
void queueRenderEntities(
341 ::Bedrock::NotNullNonOwnerPtr<::
TextureAtlas const> const& terrainTexture,
348 ::
Block const& block,
349 ::
Vec3 const& emitterPosition,
351 float velocityScalar,
359 ::mce::framebuilder::SkyWeatherParameters const& skyWeatherParams,
372 ::SharedTypes::Legacy::LevelSoundEvent eventType,
386 ::
Block const& block,
388 bool renderSecondPart,
394 ::
Block const& block,
400 ::SharedTypes::Legacy::LevelSoundEvent eventType,
401 ::SharedTypes::Legacy::LevelSoundEvent backupEventType,
426 ::
Block const& block,
428 float destroyProgress
439 MCNAPI
float getFov(
float a,
bool enableVariableFOV) const;
445 MCNAPI
void playSound(::
std::
string const& name, ::
Vec3 const& pos,
float volume,
float pitch) const;
464 ::SharedTypes::Legacy::LevelSoundEvent& eventType,
467 ::
std::
string const& blockType,
506 ::Bedrock::NotNullNonOwnerPtr<::
TextureAtlas const> const& terrainTexture,
555 MCNAPI
void $levelEvent(::SharedTypes::Legacy::LevelEvent type, ::
Vec3 const& pos,
int data);
565 ::
Block const& block,
566 ::
Vec3 const& emitterPosition,
568 float velocityScalar,
574 ::
Block const& block,
575 ::
Vec3 const& emitterPosition,
577 float velocityScalar,
590 ::
Block const& block,
591 ::
std::optional<::mce::Color> overrideColor
Definition ActorSoundIdentifier.h:17
Definition BaseActorRenderContext.h:16
Definition EnableNonOwnerReferences.h:7
Definition BlockActor.h:32
Definition BlockSource.h:63
Definition CompoundTag.h:22
Definition EntityContext.h:15
Definition HashedString.h:5
Definition LevelRendererCameraListeners.h:21
Definition LevelRendererPlayer.h:66
static MCAPI void ** $vftable()
MCAPI void updateDestroyBlock(::BlockPos const &tp, float destroyRate)
MCAPI void $levelEvent(::SharedTypes::Legacy::LevelEvent type, ::Vec3 const &pos, int data)
MCAPI void $preRenderUpdate(::ScreenContext &screenContext, ::LevelRenderPreRenderUpdateParameters &levelRenderPreRenderUpdateParameters)
MCAPI void _renderHighlightSelection(::BaseActorRenderContext &renderContext, ::BlockSource ®ion, ::Block const &block, ::BlockPos const &pos, bool renderSecondPart, bool fancyGraphics) const
MCAPI void _spawnSmokeParticles(::ParticleType particleType, ::Vec3 const &pos, int data)
MCAPI void updateDestroyProgress()
static MCAPI void ** $vftableForLevelListener()
MCAPI void setupCamera(::mce::Camera &camera, float)
MCAPI void $addCameraListenerToRenderChunkCoordinator()
MCAPI void $addBreakingItemParticleEffect(::Vec3 const &pos, ::BreakingItemParticleData const &data, ::ResolvedItemIconInfo const &textureInfo)
MCAPI void stopSound(::std::string const &name)
MCAPI void _onLevelSoundEvent(::SharedTypes::Legacy::LevelSoundEvent eventType, ::Vec3 const &pos, int data, ::ActorSoundIdentifier const &actorSoundIdentifier, bool isGlobal)
MCAPI void updateUnderWaterVisionScale()
MCAPI void $callRenderNameTags(::ScreenContext &screenContext, ::ViewRenderObject const &renderObj, ::Font &font)
MCAPI void $queueRenderEntities(::LevelRenderPreRenderUpdateParameters const &levelRenderPreRenderUpdateParameters)
MCAPI void _addTerrainEffect(::HashedString const &effectName, ::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
MCAPI::DirectionalLightRenderData getActiveDirectionalLight() const
MCAPI void updateListenerState(float alpha)
MCAPI::FogDefinition::DistanceSettingType $_getFogDistanceSettingType() const
MCAPI void $renderEntityEffects(::BaseActorRenderContext &renderContext)
MCAPI::SkyRenderObject _extractSky(::ScreenContext &screenContext) const
MCAPI void tickSkyColor()
MCAPI bool blockCanHaveCracksOverlay(::Block const &block) const
MCAPI bool $getForceFog(::Actor const &cameraActor) const
static MCAPI void ** $vftableForPlayerListener()
MCAPI void $recalculateRenderDistance(float const renderDistanceScalar)
MCAPI void $addBiomeTintedParticleEffect(::HashedString const &effect, ::BlockPos const &pos, ::Block const &block, ::std::optional<::mce::Color > overrideColor)
MCAPI void $callRenderCracks(::BaseActorRenderContext &renderContext, ::ViewRenderObject const &renderObj)
MCAPI void $onWillChangeDimension(::Player &player)
MCAPI void $frameUpdate(::ClientFrameUpdateContext &clientFrameUpdateContext)
MCAPI void $onDimensionChanged(::Player &player)
static MCAPI float getActorShadowOffset(::EntityContext const &entity)
MCAPI void $addTerrainParticleEffect(::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
MCAPI void tryReassignSound(::SharedTypes::Legacy::LevelSoundEvent &eventType, ::Sound &s, ::ActorSoundIdentifier const &actorSoundIdentifier, ::std::string const &blockType, ::Random &rand)
MCAPI::Sound const & _retrieveActorSoundWithFallback(::SharedTypes::Legacy::LevelSoundEvent eventType, ::SharedTypes::Legacy::LevelSoundEvent backupEventType, ::ActorSoundIdentifier const &actorSoundIdentifier)
MCAPI void ensureItemInHandRenderingParametersInitialized(::mce::Camera &camera)
MCAPI void $tickLevelRendererCamera()
MCAPI::FogDefinition::DensitySettingType $_getFogDensitySettingType() const
MCAPI void $_releaseRespectiveResources()
MCAPI::CrackRenderObjectCollection $extractCracks(::ScreenContext &screenContext) const
MCAPI void addDestroyBlock(::BlockPos const &tp, float destroyRate)
MCAPI void $initResources()
MCAPI float getFovWithoutGameplay() const
MCAPI::ViewRenderObject createViewRenderObject(::ScreenContext &screenContext, ::SubClientId clientSubId)
MCAPI void $addTerrainSlideEffect(::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
MCAPI void $setupFog(::ScreenContext &screenContext, float const skyIntensityOverride)
static MCAPI ::TextureUVCoordinateSet getDestructionParticlesTexture(::IRandom &random, ::Block const &block)
MCAPI::CrackRenderObject createCrackRenderObject(::ScreenContext &screenContext, ::BlockSource ®ion, ::Block const &block, ::BlockPos const &h, float destroyProgress) const
MCAPI void $notifyGeoChangedForAffectedEntities(::RenderChunkShared &renderChunkShared, uchar version)
MCAPI void bobView(::Matrix &mv, float a)
MCAPI void tickClouds(bool tessellateBothSides, float a)
MCAPI void emitGrowthParticles(::Vec3 const &pos)
MCAPI void calculateDirectionalLightRenderData(::ScreenContext const &screenContext, ::ViewRenderData const &renderData, ::SkyRenderObject const &skyData)
MCAPI void bobHurt(::Matrix &mv, float a)
MCAPI void playDeferredSound(::std::string const &name, ::Vec3 const &pos, float volume, float pitch)
MCAPI void _playNamedSound(::HashedString const &name, ::Vec3 const &pos) const
MCAPI::mce::MaterialPtr const & _getForcedMaterial(::BlockActor const &actor) const
MCAPI float $getUnderwaterVisionClarity()
static MCAPI float getNightVisionScale(::Mob const &camera, float a)
MCAPI void _renderOutlineSelection(::BaseActorRenderContext &renderContext, ::Block const &block, ::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void _playBabySoundEvent(::Sound const &sound, ::Vec3 const &pos, ::Random &rand) const
MCAPI void setItemInHandRenderingParameters(::mce::Camera &camera)
static MCAPI void ** $vftableForLevelRendererCamera()
MCAPI::ActorShadowRenderObjectCollection _extractEntityShadows(::ScreenContext &screenContext) const
MCAPI::NameTagRenderObjectCollection $extractNameTags(::ScreenContext &screenContext) const
static MCAPI void renderCracks(::ScreenContext &screenContext, ::ViewRenderData const &renderData, ::CrackRenderObjectCollection const &tagCollection)
MCAPI void _crack(::BlockSource ®ion, ::Block const &block, ::BlockPos const &inPos, uchar face)
MCAPI::TextureUVCoordinateSet _getDestructionParticlesTexture(::Block const &block)
MCAPI bool blockCanHaveSelectionOverlay(::Block const &block) const
MCAPI void reinit(::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const > const &terrainTexture)
MCAPI void $renderBlockEntities(::BaseActorRenderContext &renderContext, bool renderAlphaLayer)
MCAPI::CloudRenderObject _extractClouds(::ScreenContext &screenContext, ::mce::framebuilder::SkyWeatherParameters const &skyWeatherParams, bool vibrantEnabled) const
MCAPI void playSound(::std::string const &name, ::Vec3 const &pos, float volume, float pitch) const
MCAPI void $updateViewArea(::LevelRenderPreRenderUpdateParameters const &levelRenderPreRenderUpdateParameters)
MCAPI float getFov(float a, bool enableVariableFOV) const
Definition LevelRenderer.h:47
Definition ScreenContext.h:23
Definition TextureAtlas.h:28
Definition WeakEntityRef.h:13
Definition ActorShadowRenderObjectCollection.h:5
Definition BreakingItemParticleData.h:8
Definition ClientFrameUpdateContext.h:5
Definition CloudRenderObject.h:5
Definition CrackRenderObjectCollection.h:5
Definition CrackRenderObject.h:5
Definition DeferredSound.h:5
Definition DirectionalLightRenderData.h:5
Definition FogDefinition.h:5
Definition IClientInstance.h:5
Definition LevelRenderPreRenderUpdateParameters.h:5
Definition LevelRendererPlayer.h:103
Definition LevelRendererPlayer.h:76
MCAPI ~BiomeParticleKey()
Definition LevelRendererPlayer.h:105
Definition RenderChunkShared.h:5
Definition ResolvedItemIconInfo.h:8
Definition SkyRenderObject.h:5
Definition SoundMapping.h:5
Definition SoundPlayerInterface.h:5
Definition TextureUVCoordinateSet.h:10
Definition ViewRenderData.h:5
Definition ViewRenderObject.h:5
Definition _HeaderOutputPredefine.h:273