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

Public Types

enum class  State : int {
  PreInit = 0 , ScriptLoaded = 1 , Finalized = 2 , ReloadingPreInit = 3 ,
  ReloadingScriptLoaded = 4
}
 

Public Member Functions

ScriptCustomSpawnRulesRegistryoperator= (ScriptCustomSpawnRulesRegistry const &)
 
 ScriptCustomSpawnRulesRegistry (ScriptCustomSpawnRulesRegistry const &)
 
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptSpawnRulesInvalidRegistryError, ::ScriptModuleMinecraft::ScriptNamespaceNameError, ::Scripting::InvalidArgumentErrorregisterEntitySpawnCallback (::std::string const &id, ::std::function< bool(::br::spawn::EntityType const &, ::BlockSource &, ::br::spawn::EntitySpawnReason &, ::BlockPos, ::IRandom &)> callback)
 
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptSpawnRulesInvalidRegistryError, ::ScriptModuleMinecraft::ScriptNamespaceNameError, ::Scripting::InvalidArgumentErrorregisterObstructionCallback (::std::string const &id, ::std::function< bool(::BlockSource &, ::Mob const &, ::br::spawn::EntityType const &)> callback)
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnkf7db7b
 
::ll::UntypedStorage< 4, 4 > mUnk2be200
 

Member Function Documentation

◆ registerEntitySpawnCallback()

MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptSpawnRulesInvalidRegistryError, ::ScriptModuleMinecraft::ScriptNamespaceNameError, ::Scripting::InvalidArgumentError > ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry::registerEntitySpawnCallback ( ::std::string const & id,
::std::function< bool(::br::spawn::EntityType const &, ::BlockSource &, ::br::spawn::EntitySpawnReason &, ::BlockPos, ::IRandom &)> callback )
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.

◆ registerObstructionCallback()

MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptSpawnRulesInvalidRegistryError, ::ScriptModuleMinecraft::ScriptNamespaceNameError, ::Scripting::InvalidArgumentError > ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry::registerObstructionCallback ( ::std::string const & id,
::std::function< bool(::BlockSource &, ::Mob const &, ::br::spawn::EntityType const &)> callback )
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: