-
-
BANNER, BEACON, BED, BREWING_STAND, CAULDRON, CHEST, chunk, closed, COMPARATOR, count, DAYLIGHT_DETECTOR, ENCHANT_TABLE, ENDER_CHEST, FLOWER_POT, FURNACE, HOPPER, id, ITEM_FRAME, JUKEBOX, lastUpdate, MOB_SPAWNER, movable, MOVING_BLOCK, MUSIC, name, namedTag, PISTON_ARM, server, SHULKER_BOX, SIGN, SKULL, timing
-
-
All Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 void
clearCustomColor()
BlockColor
getCustomColor()
int
getPotionId()
CompoundTag
getSpawnCompound()
boolean
hasPotion()
protected void
initBlockEntity()
boolean
isBlockEntityValid()
boolean
isCustomColor()
boolean
isSplashPotion()
void
setCustomColor(BlockColor color)
void
setCustomColor(int r, int g, int b)
void
setPotionId(int potionId)
void
setSplashPotion(boolean value)
-
close, createBlockEntity, getBlock, getCleanedNBT, getDefaultCompound, getId, getName, getSaveId, isMovable, onBreak, onUpdate, registerBlockEntity, saveNBT, scheduleUpdate, setDirty
-
abs, add, add, add, add, ceil, clone, divide, floor, fromObject, fromObject, getChunk, getLevel, getLevelBlock, getLocation, getSide, getSide, isValid, multiply, round, setComponents, setLevel, setStrong, setWeak, subtract, subtract, subtract, subtract, subtract, toString
-
asBlockVector3, asVector3f, cross, distance, distanceSquared, dot, down, down, east, east, equals, getChunkX, getChunkZ, getFloorX, getFloorY, getFloorZ, getForward, getIntermediateWithXValue, getIntermediateWithYValue, getIntermediateWithZValue, getRight, getSouth, getUp, getWest, getX, getY, getZ, hashCode, length, lengthSquared, maxPlainDistance, maxPlainDistance, maxPlainDistance, maxPlainDistance, maxPlainDistance, normalize, north, north, rawHashCode, south, south, up, up, west, west
-