🚬
NovoScript
  • NovoScript - Tutorial
  • API
    • Module
    • Events
    • Objects
      • World
      • Client
      • Packets
      • Player
      • Entity
    • Utilities
      • Web Utility
      • File Utility
      • Render Utility
      • Game Utility
      • Timer Utility
      • Angle Untility
      • Entity Utility
    • Enums
    • Global Variables
  • Examples
    • Self Damage
    • Multi Aura
    • OldNCP Bhop
Powered by GitBook
On this page
  • world.getEntityList
  • world.getPlayerEntities
  • world.getBlockAtBlockPos
  • world.getBlockPos
  • world.getBlockName
  • world.removeEntity

Was this helpful?

  1. API
  2. Objects

World

PreviousObjectsNextClient

Last updated 3 years ago

Was this helpful?

world.getEntityList

Returns an array of entities within your render distance

world.getEntityList()

world.getPlayerEntities

Returns an array of player entities within your render distance

world.getPlayerEntities()

world.getBlockAtBlockPos

Returns the Block object

Parameters

Type

Description

pos

BlockPos

world.getBlockAtBlockPos(pos) - Block

world.getBlockPos

Returns a BlockPos object from the given coordinates

Parameters

Type

x

Integer

y

Integer

z

Integer

world.getBlockPos(x,y,z) - BlockPos

world.getBlockName

Returns an unlocalized name of a block

Parameters

Type

block

Block

world.getBlockName(block) - String

world.removeEntity

Removes the given player from the world

Parameter

Type

entity

Entity

world.removeEntity(entity)
Entity