meisterhau-ll
    Preparing search index...
    • 根据物品对象生成掉落物实体

      Parameters

      • item: Item

        生成掉落物实体所使用的物品对象

      • pos: FloatPos | IntPos

        生成掉落物实体的位置的坐标对象(或者使用x, y, z, dimid来确定生成位置)

      Returns Entity | null

      Entity|null 生成的掉落物实体对象

    • 根据物品对象生成掉落物实体

      Parameters

      • item: Item

        生成掉落物实体所使用的物品对象

      • x: number

        x坐标

      • y: number

        y坐标

      • z: number

        z坐标

      • dimId: 0 | 1 | 2

        维度Id

      Returns Entity | null

      Entity|null 生成的掉落物实体对象

    • 根据物品对象生成掉落物实体

      Parameters

      • item: Item

        生成掉落物实体所使用的物品对象

      • pos: FloatPos | IntPos

        生成掉落物实体的位置的坐标对象(或者使用x, y, z, dimid来确定生成位置)

      Returns Entity | null

      Entity|null 生成的掉落物实体对象

    • 根据物品对象生成掉落物实体

      Parameters

      • item: Item

        生成掉落物实体所使用的物品对象

      • x: number

        x坐标

      • y: number

        y坐标

      • z: number

        z坐标

      • dimId: 0 | 1 | 2

        维度Id

      Returns Entity | null

      Entity|null 生成的掉落物实体对象