Deprecated API
Contents
-
ClassDescriptionUse
Converter
This class is no longer exposed in newer versions. It should not be used or referenced.RegularStructure
methods should be used. See individual methods for their equivalents.UseComparators
UseConverters
Slot stuff got its own package.
-
FieldDescriptionbefore 1.13 is no longer supporteddue to bad naming conventions, use
SkriptParser.LIST_SPLIT_PATTERN
instead.due to bad naming conventions, useSkriptParser.WILDCARD
instead.Users should specify the listening behavior in the event declaration. "on any %event%:", "on cancelled %event%:".
-
MethodDescriptionUse
ItemType.isOfType(BlockData)
insteadThis shouldn't be usedUseBlockCompat.getBlockValues(BlockData)
insteadUseNewBlockCompat.getBlockValues(BlockData)
insteadThis just returns itself and has no useuseBukkit.getOnlinePlayers()
insteadin favour ofFunctions.getGlobalFunction(String)
for proper name.in favour ofFunctions.getGlobalSignature(String)
for proper name.SeeScriptEvent
.UseParserInstance.setCurrentStructure(Structure)
with 'null'.UseScript.getData(Class)
instead. TheStructOptions.OptionsData
class should be obtained. Example:script.getData(OptionsData.class)
Addons should no longer be modifying this.UseSelfRegisteringSkriptEvent.postLoad()
instead.This method's functionality can be replaced by overridingSelfRegisteringSkriptEvent.postLoad()
. Normally, that method would register the parsed trigger withSkriptEventHandler
. A reference to theTrigger
is available throughSkriptEvent.trigger
.This method's functionality can be replaced by overridingSelfRegisteringSkriptEvent.unload()
. Normally, that method would unregister the parsed trigger withSkriptEventHandler
. A reference to theTrigger
is available throughSkriptEvent.trigger
.This method should no longer be used. Each trigger should be unregistered throughSelfRegisteringSkriptEvent.unregister(Trigger)
.UseScriptLoader.getLoadedScripts()
.size().UseScriptLoader.getLoadedScripts()
andScript.getStructures()
.size(). Please note that a Structure may have multiple triggers, and this is only an estimate.Callers should not be using configs. UseScriptLoader.loadScripts(Set, OpenCloseable)
.Callers should not be using configs. UseScriptLoader.loadScripts(Set, OpenCloseable)
.Callers should not be using configs. UseScriptLoader.loadScripts(Set, OpenCloseable)
.This method has no functionality, it just returns its input.Never use this method, it has no effect.Addons should no longer be modifying this.This method no longer does anything as self registered Triggers are unloaded when theSkriptEvent
is unloaded (no need to keep tracking them here).To be removed in a future version.Magic numbersMagic numbersUseTimespan.fromTicks(long)
instead. Old API naming changes.Use getTicks() instead. Old API naming changes.This method will be removed in a future version. If the EntryContainer is needed outside ofStructure.init(Literal[], int, ParseResult, EntryContainer)
, the Structure should keep a reference to it.