Class BlockDataMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
- Direct Known Subclasses:
AmethystClusterMock,BedMock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected void@NotNull BlockDataclone()booleanprotected <T> T@NotNull String@NotNull StringgetAsString(boolean hideUnspecified) @NotNull Material@NotNull SoundGroupinthashCode()booleanisFaceSturdy(@NotNull BlockFace face, @NotNull BlockSupport support) booleanbooleanisSupported(@NotNull Block block) booleanisSupported(@NotNull Location location) boolean@NotNull BlockDatastatic @NotNull BlockDataMockprotected <T> void
-
Constructor Details
-
BlockDataMock
-
-
Method Details
-
checkType
-
checkType
-
checkType
-
checkType
-
set
-
get
-
getMaterial
- Specified by:
getMaterialin interfaceBlockData
-
getAsString
- Specified by:
getAsStringin interfaceBlockData
-
getAsString
- Specified by:
getAsStringin interfaceBlockData
-
merge
-
getSoundGroup
- Specified by:
getSoundGroupin interfaceBlockData
-
isSupported
- Specified by:
isSupportedin interfaceBlockData
-
isSupported
- Specified by:
isSupportedin interfaceBlockData
-
isFaceSturdy
public boolean isFaceSturdy(@NotNull @NotNull BlockFace face, @NotNull @NotNull BlockSupport support) - Specified by:
isFaceSturdyin interfaceBlockData
-
isRandomlyTicked
public boolean isRandomlyTicked()- Specified by:
isRandomlyTickedin interfaceBlockData
-
matches
-
hashCode
public int hashCode() -
equals
-
clone
-
mock
-