🤠
cedoscript
  • Introduction
  • Documentation
    • Packets
    • Setting Command
    • Java Imports
    • Examples
      • Creating a Pack
      • Custom Block Animation
      • Bhop
      • Setting Creation
      • Post Notification
      • Gradient Round Rectangle
      • Applying a gradient
      • Simulate a command
  • api
    • Events
    • Settings
    • Objects
      • EntityLivingBase
      • ItemStack
      • Player Abilities
      • Color
      • TimerUtil
      • Continual Animation
      • ShaderUtil
      • FrameBuffer
      • Rainbow
      • Drag
      • Pair
      • Module
  • Bindings
    • Client
    • Player
    • Packet
    • Action
    • Facing
    • Potion
    • Notification
    • Render
    • Stats
    • Font
    • User
    • World
Powered by GitBook
On this page
  • setTimer
  • isSinglePlayer
  • getLivingEntities
  • timer

Was this helpful?

  1. Bindings

World

Information about the world binding

PreviousUser

Last updated 2 years ago

Was this helpful?

setTimer

world.setTimer(speed)

Sets the timer speed (Defualt timer speed is 1)

Parameter
Type
Description

speed

Number

New timer speed

isSinglePlayer

world.isSinglePlayer()

Returns true if the user is in a singleplayer world

getLivingEntities

world.getLivingEntities()

Returns a list of . Refer to to see how to loop through the entities.

timer

world.timer()

Returns the current timer speed as a Number

EntityLivingBases
this