Class RegistryData.BlockEntry
java.lang.Object
net.minestom.server.registry.RegistryData.BlockEntry
- All Implemented Interfaces:
RegistryData.Entry
- Enclosing class:
RegistryData
-
Method Summary
Modifier and TypeMethodDescription@Nullable net.kyori.adventure.key.Key
int
float
float
friction()
@Nullable BlockSoundType
float
hardness()
int
id()
boolean
isAir()
boolean
boolean
isLiquid()
boolean
boolean
boolean
boolean
isSolid()
float
@NotNull net.kyori.adventure.key.Key
key()
int
@Nullable Material
material()
boolean
occludes()
boolean
float
int
stateId()
-
Method Details
-
key
@NotNull public @NotNull net.kyori.adventure.key.Key key() -
id
public int id() -
stateId
public int stateId() -
translationKey
-
hardness
public float hardness() -
explosionResistance
public float explosionResistance() -
friction
public float friction() -
speedFactor
public float speedFactor() -
jumpFactor
public float jumpFactor() -
isAir
public boolean isAir() -
isSolid
public boolean isSolid() -
isLiquid
public boolean isLiquid() -
occludes
public boolean occludes() -
requiresTool
public boolean requiresTool() -
lightEmission
public int lightEmission() -
isReplaceable
public boolean isReplaceable() -
isBlockEntity
public boolean isBlockEntity() -
blockEntity
@Nullable public @Nullable net.kyori.adventure.key.Key blockEntity() -
blockEntityId
public int blockEntityId() -
material
-
isRedstoneConductor
public boolean isRedstoneConductor() -
isSignalSource
public boolean isSignalSource() -
collisionShape
-
getBlockSoundType
-