Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaperMC/Paper
/ getType
Method
getType
paper-api/src/main/java/org/bukkit/block/Block.java:101–101 ·
view source on GitHub ↗
Gets the type of this block @return block type
()
Source
from the content-addressed store, hash-verified
99
* @
return
block type
100
*/
101
@NotNull
102
Material getType();
103
104
/**
Callers
15
canSpawn
Method · 0.95
getBlockProjectileSource
Method · 0.95
dispense
Method · 0.95
drop
Method · 0.95
callBlockIgniteEvent
Method · 0.95
openWorkbench
Method · 0.95
openEnchanting
Method · 0.95
openInventory
Method · 0.95
getLineOfSight
Method · 0.95
apply
Method · 0.65
getBeacon
Method · 0.65
isTagged
Method · 0.65
Implementers
1
CraftBlock
paper-server/src/main/java/org/bukkit/
Calls
no outgoing calls
Tested by
10
collectTags
Method · 0.52
apiValues
Method · 0.52
verifyEntityMapping
Method · 0.52
init
Method · 0.52
getByType
Method · 0.52
collectNmsLevelEvents
Method · 0.52
testConstants
Method · 0.52
isValidField
Method · 0.52
testSetBlock
Method · 0.52
getFieldType
Method · 0.52