Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::IScriptWorldBeforeEvents Class Reference
Inheritance diagram for ScriptModuleMinecraft::IScriptWorldBeforeEvents:

Public Member Functions

virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendBeforeEvent > > onBeforeChat (::ChatEvent const &chatEvent, ::Player const &player)
virtual void onBeforeWorldInitialize (::ScriptingWorldInitializeEvent const &eventData)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWeatherChangedBeforeEvent > > onBeforeWeatherChangedEvent (::ScriptModuleMinecraft::ScriptWeatherType previousWeatherType, ::ScriptModuleMinecraft::ScriptWeatherType newWeatherType, int duration)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerItemAttackEntityBeforeEvent > > onBeforePlayerItemAttackEntity (::Player &player, ::Actor &target, ::PlayerItemAttackEntityBeforeEvent const &eventData)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityBeforeEvent > > onBeforePlayerInteractWithEntity (::Player &player, ::Actor &target, ::PlayerInteractWithEntityBeforeEvent const &eventData)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithBlockBeforeEvent > > onBeforePlayerInteractWithBlock (::Player &player, ::PlayerInteractWithBlockBeforeEvent const &eventData)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerGameModeChangeBeforeEvent > > onBeforePlayerGameModeChange (::Player const &player, ::GameType fromGameMode, ::GameType toGameMode)
virtual void onBeforePlayerLeave (::Player const &player)
virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealBeforeEvent > > onBeforeActorHeal (::Actor const &actor, ::ActorBeforeHealEvent const &eventData)
virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtBeforeEvent > > onBeforeActorHurt (::Actor const &actor, ::ActorBeforeHurtEvent const &eventData)
virtual void onBeforeActorRemove (::Actor const &actor)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorAddEffectBeforeEvent > > onBeforeEffectAddedEventSend (::ActorAddEffectEvent &actorEffectAddedEvent, ::Actor const &actor)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorItemPickupBeforeEvent > > onBeforeActorItemPickup (::ActorBeforeAcquireItemEvent &actorItemPickupEvent)
virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorTamedBeforeEvent > > onBeforeActorTamed (::Actor const &actor, ::Actor const &tamingActor)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptExplosionStartedBeforeEvent > > onBeforeExplosion (::ExplosionStartedEvent const &event)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerBreakBlockBeforeEvent > > onBeforePlayerBreakBlock (::Player const &player, ::BlockTryDestroyByPlayerEvent const &eventData)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerPlaceBlockBeforeEvent > > onBeforePlayerPlaceBlock (::Player const &player, ::BlockTryPlaceByPlayerEvent const &eventData)
virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseBeforeEvent > > onBeforeItemUse (::Player const &player, ::ItemUseEvent const &itemEvent)
virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent > > onBeforeItemUseOn (::Player const &player, ::ItemUseOnEvent const &itemEvent)
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldClockRestartBeforeEvent > > onBeforeWorldClockRestart (::gsl::not_null<::WorldClock * > clock, int newTime)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendBeforeEvent > > $onBeforeChat (::ChatEvent const &chatEvent, ::Player const &player)
MCAPI void $onBeforeWorldInitialize (::ScriptingWorldInitializeEvent const &eventData)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWeatherChangedBeforeEvent > > $onBeforeWeatherChangedEvent (::ScriptModuleMinecraft::ScriptWeatherType previousWeatherType, ::ScriptModuleMinecraft::ScriptWeatherType newWeatherType, int duration)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerItemAttackEntityBeforeEvent > > $onBeforePlayerItemAttackEntity (::Player &player, ::Actor &target, ::PlayerItemAttackEntityBeforeEvent const &eventData)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityBeforeEvent > > $onBeforePlayerInteractWithEntity (::Player &player, ::Actor &target, ::PlayerInteractWithEntityBeforeEvent const &eventData)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithBlockBeforeEvent > > $onBeforePlayerInteractWithBlock (::Player &player, ::PlayerInteractWithBlockBeforeEvent const &eventData)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerGameModeChangeBeforeEvent > > $onBeforePlayerGameModeChange (::Player const &player, ::GameType fromGameMode, ::GameType toGameMode)
MCAPI void $onBeforePlayerLeave (::Player const &player)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealBeforeEvent > > $onBeforeActorHeal (::Actor const &actor, ::ActorBeforeHealEvent const &eventData)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtBeforeEvent > > $onBeforeActorHurt (::Actor const &actor, ::ActorBeforeHurtEvent const &eventData)
MCAPI void $onBeforeActorRemove (::Actor const &actor)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorAddEffectBeforeEvent > > $onBeforeEffectAddedEventSend (::ActorAddEffectEvent &actorEffectAddedEvent, ::Actor const &actor)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorItemPickupBeforeEvent > > $onBeforeActorItemPickup (::ActorBeforeAcquireItemEvent &actorItemPickupEvent)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorTamedBeforeEvent > > $onBeforeActorTamed (::Actor const &actor, ::Actor const &tamingActor)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptExplosionStartedBeforeEvent > > $onBeforeExplosion (::ExplosionStartedEvent const &event)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerBreakBlockBeforeEvent > > $onBeforePlayerBreakBlock (::Player const &player, ::BlockTryDestroyByPlayerEvent const &eventData)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerPlaceBlockBeforeEvent > > $onBeforePlayerPlaceBlock (::Player const &player, ::BlockTryPlaceByPlayerEvent const &eventData)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseBeforeEvent > > $onBeforeItemUse (::Player const &player, ::ItemUseEvent const &itemEvent)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent > > $onBeforeItemUseOn (::Player const &player, ::ItemUseOnEvent const &itemEvent)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldClockRestartBeforeEvent > > $onBeforeWorldClockRestart (::gsl::not_null<::WorldClock * > clock, int newTime)

Static Public Member Functions

static MCAPI void ** $vftable ()

Member Function Documentation

◆ $onBeforeChat()

MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeChat ( ::ChatEvent const & chatEvent,
::Player const & player )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeWorldInitialize()

MCAPI void ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeWorldInitialize ( ::ScriptingWorldInitializeEvent const & eventData)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeWeatherChangedEvent()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWeatherChangedBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeWeatherChangedEvent ( ::ScriptModuleMinecraft::ScriptWeatherType previousWeatherType,
::ScriptModuleMinecraft::ScriptWeatherType newWeatherType,
int duration )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforePlayerItemAttackEntity()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerItemAttackEntityBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforePlayerItemAttackEntity ( ::Player & player,
::Actor & target,
::PlayerItemAttackEntityBeforeEvent const & eventData )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforePlayerInteractWithEntity()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforePlayerInteractWithEntity ( ::Player & player,
::Actor & target,
::PlayerInteractWithEntityBeforeEvent const & eventData )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforePlayerInteractWithBlock()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithBlockBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforePlayerInteractWithBlock ( ::Player & player,
::PlayerInteractWithBlockBeforeEvent const & eventData )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforePlayerGameModeChange()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerGameModeChangeBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforePlayerGameModeChange ( ::Player const & player,
::GameType fromGameMode,
::GameType toGameMode )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforePlayerLeave()

MCAPI void ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforePlayerLeave ( ::Player const & player)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeActorHeal()

MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeActorHeal ( ::Actor const & actor,
::ActorBeforeHealEvent const & eventData )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeActorHurt()

MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeActorHurt ( ::Actor const & actor,
::ActorBeforeHurtEvent const & eventData )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeActorRemove()

MCAPI void ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeActorRemove ( ::Actor const & actor)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeEffectAddedEventSend()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorAddEffectBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeEffectAddedEventSend ( ::ActorAddEffectEvent & actorEffectAddedEvent,
::Actor const & actor )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeActorItemPickup()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorItemPickupBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeActorItemPickup ( ::ActorBeforeAcquireItemEvent & actorItemPickupEvent)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeActorTamed()

MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorTamedBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeActorTamed ( ::Actor const & actor,
::Actor const & tamingActor )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeExplosion()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptExplosionStartedBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeExplosion ( ::ExplosionStartedEvent const & event)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforePlayerBreakBlock()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerBreakBlockBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforePlayerBreakBlock ( ::Player const & player,
::BlockTryDestroyByPlayerEvent const & eventData )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforePlayerPlaceBlock()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerPlaceBlockBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforePlayerPlaceBlock ( ::Player const & player,
::BlockTryPlaceByPlayerEvent const & eventData )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeItemUse()

MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeItemUse ( ::Player const & player,
::ItemUseEvent const & itemEvent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeItemUseOn()

MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeItemUseOn ( ::Player const & player,
::ItemUseOnEvent const & itemEvent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onBeforeWorldClockRestart()

MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldClockRestartBeforeEvent > > ScriptModuleMinecraft::IScriptWorldBeforeEvents::$onBeforeWorldClockRestart ( ::gsl::not_null<::WorldClock * > clock,
int newTime )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** ScriptModuleMinecraft::IScriptWorldBeforeEvents::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: