Skip to content

Latest commit

 

History

History
155 lines (155 loc) · 8.76 KB

cn.nukkit.blockentity.BlockEntityCauldron.md

File metadata and controls

155 lines (155 loc) · 8.76 KB
  • 成员变量一览

    • 继承自类 cn.nukkit.blockentity.BlockEntity

      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
    • 继承自类 cn.nukkit.level.Position

      level
    • 继承自类 cn.nukkit.math.Vector3

      x, y, z
  • 构造函数一览

    构造函数 
    构造函数描述
    BlockEntityCauldron(FullChunk chunk, CompoundTag nbt) 
  • 成员函数一览

    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) 
    • 继承自类 cn.nukkit.blockentity.BlockEntitySpawnable

      spawnTo, spawnToAll, updateCompoundTag
    • 继承自类 cn.nukkit.blockentity.BlockEntity

      close, createBlockEntity, getBlock, getCleanedNBT, getDefaultCompound, getId, getName, getSaveId, isMovable, onBreak, onUpdate, registerBlockEntity, saveNBT, scheduleUpdate, setDirty
    • 继承自类 cn.nukkit.level.Position

      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
    • 继承自类 cn.nukkit.math.Vector3

      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
    • 继承自类 java.lang.Object

      finalize, getClass, notify, notifyAll, wait, wait, wait