🤠
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

Was this helpful?

  1. Documentation
  2. Examples

Bhop

Example of a vanilla bhop module.

var script = initScript({
    name: "Bhop Test",
    description: "vanilla bhop",
    author: "life"
})

script.onMotion(function (event) {
    if (event.isPre() && player.onGround()) {
        player.jump()
    }
})
PreviousCustom Block AnimationNextSetting Creation

Last updated 2 years ago

Was this helpful?