Class StateType
java.lang.Object
com.github.retrooper.packetevents.protocol.world.states.type.StateType
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStateType(TypesBuilder typesBuilder, TypesBuilderData typeData, float blastResistance, float hardness, boolean isSolid, boolean isBlocking, boolean isAir, boolean requiresCorrectTool, boolean isShapeExceedsCube, MaterialType materialType) -
Method Summary
Modifier and TypeMethodDescriptioncreateBlockState(ClientVersion version) booleanbooleanfloatfloatgetName()inthashCode()booleanisAir()booleanbooleanbooleanbooleanisSolid()toString()
-
Constructor Details
-
StateType
public StateType(TypesBuilder typesBuilder, TypesBuilderData typeData, float blastResistance, float hardness, boolean isSolid, boolean isBlocking, boolean isAir, boolean requiresCorrectTool, boolean isShapeExceedsCube, MaterialType materialType)
-
-
Method Details
-
getMapped
-
createBlockState
-
createBlockState
-
getName
-
getBlastResistance
public float getBlastResistance() -
getHardness
public float getHardness() -
isSolid
public boolean isSolid() -
isBlocking
public boolean isBlocking() -
isAir
public boolean isAir() -
isRequiresCorrectTool
public boolean isRequiresCorrectTool() -
isReplaceable
public boolean isReplaceable() -
exceedsCube
public boolean exceedsCube() -
getMaterialType
-
toString
-
equals
-
hashCode
public int hashCode()
-