Lineage
Toggle table of contents
0.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Lineage
proxy
/
ru.hytalemodding.lineage.proxy.mod
/
ModClassLoader
Mod
Class
Loader
class
ModClassLoader
(
urls
:
Array
<
URL
>
,
parent
:
ClassLoader
)
:
URLClassLoader
Class loader that prefers mod classes while delegating core packages to the parent.
Members
Constructors
Mod
Class
Loader
Link copied to clipboard
constructor
(
urls
:
Array
<
URL
>
,
parent
:
ClassLoader
)
Properties
defined
Packages
Link copied to clipboard
val
definedPackages
:
Array
<
out
Package
?
>
?
is
Registered
As
Parallel
Capable
Link copied to clipboard
val
isRegisteredAsParallelCapable
:
Boolean
name
Link copied to clipboard
open
val
name
:
String
?
parent
Link copied to clipboard
val
parent
:
ClassLoader
?
unnamed
Module
Link copied to clipboard
val
unnamedModule
:
Module
?
ur
Ls
Link copied to clipboard
open
val
urLs
:
Array
<
out
URL
?
>
?
Functions
clear
Assertion
Status
Link copied to clipboard
open
fun
clearAssertionStatus
(
)
close
Link copied to clipboard
open
fun
close
(
)
find
Resource
Link copied to clipboard
open
fun
findResource
(
name
:
String
?
)
:
URL
?
find
Resources
Link copied to clipboard
open
fun
findResources
(
name
:
String
?
)
:
Enumeration
<
URL
?
>
?
get
Defined
Package
Link copied to clipboard
fun
getDefinedPackage
(
name
:
String
?
)
:
Package
?
get
Resource
Link copied to clipboard
open
fun
getResource
(
name
:
String
?
)
:
URL
?
get
Resource
As
Stream
Link copied to clipboard
open
fun
getResourceAsStream
(
name
:
String
?
)
:
InputStream
?
get
Resources
Link copied to clipboard
open
fun
getResources
(
name
:
String
?
)
:
Enumeration
<
URL
?
>
?
load
Class
Link copied to clipboard
open
fun
loadClass
(
name
:
String
?
)
:
Class
<
*
>
?
resources
Link copied to clipboard
open
fun
resources
(
name
:
String
?
)
:
Stream
<
URL
?
>
?
set
Class
Assertion
Status
Link copied to clipboard
open
fun
setClassAssertionStatus
(
className
:
String
?
,
enabled
:
Boolean
)
set
Default
Assertion
Status
Link copied to clipboard
open
fun
setDefaultAssertionStatus
(
enabled
:
Boolean
)
set
Package
Assertion
Status
Link copied to clipboard
open
fun
setPackageAssertionStatus
(
packageName
:
String
?
,
enabled
:
Boolean
)