63class ScriptWorldBeforeEvents
69 ::ll::TypedStorage<8, 16, ::Scripting::WeakLifetimeScope> mScope;
70 ::ll::TypedStorage<8, 40, ::Scripting::Version> mServerModuleVersion;
71 ::ll::TypedStorage<8, 8, ::Level*> mLevel;
72 ::ll::TypedStorage<8, 16, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldBeforeEvents>> mHandle;
88 mBeforeExplosionSignal;
96 mBeforeItemUseEventSignal;
104 mBeforeItemUseOnEventSignal;
112 mBeforePlayerBreakBlockEventSignal;
120 mBeforePlayerPlaceBlockEventSignal;
128 mBeforeActorHealEventSignal;
136 mBeforeActorHurtEventSignal;
144 mBeforeActorRemoveEventSignal;
152 mBeforeActorItemPickupEventSignal;
160 mBeforePlayerInteractWithBlockEventSignal;
168 mBeforePlayerInteractWithEntityEventSignal;
176 mBeforePlayerLeaveEventSignal;
184 mBeforePlayerGameModeChangeEventSignal;
192 mBeforeEffectAddEventSignal;
200 mBeforeWeatherChangedEventSignal;
208 mBeforeWorldInitializeEventSignal;
213 ScriptWorldBeforeEvents& operator=(ScriptWorldBeforeEvents
const&);
214 ScriptWorldBeforeEvents(ScriptWorldBeforeEvents
const&);
215 ScriptWorldBeforeEvents();
220 virtual ~ScriptWorldBeforeEvents() ;
222 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealBeforeEvent>>
225 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtBeforeEvent>>
228 virtual void onBeforeActorRemove(
::Actor const& actor) ;
230 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendBeforeEvent>>
233 virtual ::std::optional<
237 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseBeforeEvent>>
240 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent>>
243 virtual ::std::optional<
247 virtual ::std::optional<
251 virtual ::std::optional<
253 onBeforePlayerInteractWithBlock(
258 virtual ::std::optional<
260 onBeforePlayerInteractWithEntity(
266 virtual ::std::optional<
268 onBeforePlayerGameModeChange(
::Player const& player, ::GameType fromGameMode, ::GameType toGameMode) ;
270 virtual void onBeforeWorldInitialize(
272 blockComponentRegistry,
274 itemComponentRegistry
277 virtual void onBeforePlayerLeave(
::Player const& player) ;
279 virtual ::std::optional<
283 virtual ::std::optional<
287 virtual ::std::optional<
289 onBeforeWeatherChangedEvent(
290 ::ScriptModuleMinecraft::ScriptWeatherType previousWeatherType,
291 ::ScriptModuleMinecraft::ScriptWeatherType newWeatherType,
301 MCAPI ScriptWorldBeforeEvents(
307 MCAPI ::std::vector<::ScriptModuleMinecraft::SignalNameSubscriberCount> getFineGrainedSignalSubscriberStats()
const;
309 MCAPI ::ScriptModuleMinecraft::ScriptWorldBeforeEvents&
312 MCAPI
void registerListeners();
338 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealBeforeEvent>>
341 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtBeforeEvent>>
344 MCAPI
void $onBeforeActorRemove(
::Actor const& actor);
346 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendBeforeEvent>>
349 MCAPI ::std::optional<
353 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseBeforeEvent>>
356 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent>>
359 MCAPI ::std::optional<
363 MCAPI ::std::optional<
367 MCAPI ::std::optional<
371 MCAPI ::std::optional<
373 $onBeforePlayerInteractWithEntity(
379 MCAPI ::std::optional<
381 $onBeforePlayerGameModeChange(
::Player const& player, ::GameType fromGameMode, ::GameType toGameMode);
383 MCAPI
void $onBeforeWorldInitialize(
385 blockComponentRegistry,
387 itemComponentRegistry
390 MCAPI
void $onBeforePlayerLeave(
::Player const& player);
392 MCAPI ::std::optional<
396 MCAPI ::std::optional<
400 MCAPI ::std::optional<
402 $onBeforeWeatherChangedEvent(
403 ::ScriptModuleMinecraft::ScriptWeatherType previousWeatherType,
404 ::ScriptModuleMinecraft::ScriptWeatherType newWeatherType,