62class ScriptWorldBeforeEvents
68 ::ll::TypedStorage<8, 16, ::Scripting::WeakLifetimeScope> mScope;
69 ::ll::TypedStorage<8, 8, ::Level*> mLevel;
70 ::ll::TypedStorage<8, 16, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldBeforeEvents>> mHandle;
86 mBeforeExplosionSignal;
94 mBeforeItemUseEventSignal;
102 mBeforeItemUseOnEventSignal;
110 mBeforePlayerBreakBlockEventSignal;
118 mBeforePlayerPlaceBlockEventSignal;
126 mBeforeActorHealEventSignal;
134 mBeforeActorHurtEventSignal;
142 mBeforeActorRemoveEventSignal;
150 mBeforeActorItemPickupEventSignal;
158 mBeforePlayerInteractWithBlockEventSignal;
166 mBeforePlayerInteractWithEntityEventSignal;
174 mBeforePlayerLeaveEventSignal;
182 mBeforePlayerGameModeChangeEventSignal;
190 mBeforeEffectAddEventSignal;
198 mBeforeWeatherChangedEventSignal;
206 mBeforeWorldInitializeEventSignal;
211 ScriptWorldBeforeEvents& operator=(ScriptWorldBeforeEvents
const&);
212 ScriptWorldBeforeEvents(ScriptWorldBeforeEvents
const&);
213 ScriptWorldBeforeEvents();
218 virtual ~ScriptWorldBeforeEvents() ;
220 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealBeforeEvent>>
223 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtBeforeEvent>>
226 virtual void onBeforeActorRemove(
::Actor const& actor) ;
228 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendBeforeEvent>>
231 virtual ::std::optional<
235 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseBeforeEvent>>
238 virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent>>
241 virtual ::std::optional<
245 virtual ::std::optional<
249 virtual ::std::optional<
251 onBeforePlayerInteractWithBlock(
256 virtual ::std::optional<
258 onBeforePlayerInteractWithEntity(
264 virtual ::std::optional<
266 onBeforePlayerGameModeChange(
::Player const&, ::GameType, ::GameType) ;
268 virtual void onBeforeWorldInitialize(
270 blockComponentRegistry,
272 itemComponentRegistry
275 virtual void onBeforePlayerLeave(
::Player const& player) ;
277 virtual ::std::optional<
281 virtual ::std::optional<
285 virtual ::std::optional<
287 onBeforeWeatherChangedEvent(
288 ::ScriptModuleMinecraft::ScriptWeatherType,
289 ::ScriptModuleMinecraft::ScriptWeatherType,
301 MCAPI ::std::vector<::ScriptModuleMinecraft::SignalNameSubscriberCount> getFineGrainedSignalSubscriberStats()
const;
303 MCAPI ::ScriptModuleMinecraft::ScriptWorldBeforeEvents&
306 MCAPI
void registerListeners();
332 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealBeforeEvent>>
335 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtBeforeEvent>>
338 MCAPI
void $onBeforeActorRemove(
::Actor const& actor);
340 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendBeforeEvent>>
343 MCAPI ::std::optional<
347 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseBeforeEvent>>
350 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent>>
353 MCAPI ::std::optional<
357 MCAPI ::std::optional<
361 MCAPI ::std::optional<
365 MCAPI ::std::optional<
367 $onBeforePlayerInteractWithEntity(
373 MCAPI
void $onBeforeWorldInitialize(
375 blockComponentRegistry,
377 itemComponentRegistry
380 MCAPI
void $onBeforePlayerLeave(
::Player const& player);
382 MCAPI ::std::optional<
386 MCAPI ::std::optional<