LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptSpawnRulesRegistry Class Reference

Public Types

using EntitySpawnCallback
using ObstructionCallback

Public Member Functions

ScriptSpawnRulesRegistry & operator= (ScriptSpawnRulesRegistry const &)
 ScriptSpawnRulesRegistry (ScriptSpawnRulesRegistry const &)
MCAPI ScriptSpawnRulesRegistry (::ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry &registry)
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptSpawnRulesInvalidRegistryError, ::ScriptModuleMinecraft::ScriptNamespaceNameError, ::Scripting::InvalidArgumentErrorregisterEntitySpawnCallback (::Scripting::WeakLifetimeScope scope, ::std::string const &id, ::Scripting::Closure< bool(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptEntitySpawnCallbackArgs >)> callback)
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptSpawnRulesInvalidRegistryError, ::ScriptModuleMinecraft::ScriptNamespaceNameError, ::Scripting::InvalidArgumentErrorregisterObstructionCallback (::Scripting::WeakLifetimeScope scope, ::std::string const &id, ::Scripting::Closure< bool(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptObstructionCallbackArgs >)> callback)
MCFOLD void * $ctor (::ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry &registry)

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()
static MCAPI bool entitySpawnCallbackHandler (::Scripting::WeakLifetimeScope scope, ::Scripting::Closure< bool(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptEntitySpawnCallbackArgs >)> const &callback, ::br::spawn::EntityType const &entityType, ::BlockSource &region, ::br::spawn::EntitySpawnReason &spawnReason, ::BlockPos blockPosition)
static MCAPI bool obstructionCallbackHandler (::Scripting::WeakLifetimeScope scope, ::Scripting::Closure< bool(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptObstructionCallbackArgs >)> const &callback, ::BlockSource &region, ::Mob const &mob, ::br::spawn::EntityType const &entityType)

Public Attributes

::ll::TypedStorage< 8, 8, ::ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry & > mRegistry

Member Typedef Documentation

◆ EntitySpawnCallback

using ScriptModuleMinecraft::ScriptSpawnRulesRegistry::EntitySpawnCallback

◆ ObstructionCallback

using ScriptModuleMinecraft::ScriptSpawnRulesRegistry::ObstructionCallback

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