rebar
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
rebar
rebar
/
io.github.pylonmc.rebar.block
/
RebarBlock
/
Companion
Companion
object
Companion
(
source
)
Members
Properties
is
Vanilla
Block
Link copied to clipboard
@get:
JvmStatic
val
Block
.
isVanillaBlock
:
Boolean
rebar
Block
Link copied to clipboard
@get:
JvmStatic
val
Block
.
rebarBlock
:
RebarBlock
?
rebar
Block
Key
Key
Link copied to clipboard
@
JvmStatic
val
rebarBlockKeyKey
:
NamespacedKey
rebar
Block
Position
Key
Link copied to clipboard
@
JvmStatic
val
rebarBlockPositionKey
:
NamespacedKey
rebar
Block
Texture
Entity
Key
Link copied to clipboard
@
JvmStatic
val
rebarBlockTextureEntityKey
:
NamespacedKey
Functions
register
Link copied to clipboard
inline
fun
<
T
:
RebarBlock
>
register
(
key
:
NamespacedKey
,
material
:
Material
)
@
JvmStatic
fun
register
(
key
:
NamespacedKey
,
material
:
Material
,
blockClass
:
Class
<
out
RebarBlock
>
)
Registers a new block type with Rebar.