🤠
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
  • How to import
  • Imports
  • Keyboard
  • Mouse
  • GL11
  • GL13
  • GL14
  • GL20
  • Map
  • HashMap
  • List
  • ArrayList
  • Math
  • Collectors
  • Tuples

Was this helpful?

  1. Documentation

Java Imports

This page will explain all the allowed imports from Java (Anything not on this list is not allowed to be imported)

PreviousSetting CommandNextExamples

Last updated 2 years ago

Was this helpful?

How to import

var Object = Java.type(package_name)

This code will import the java class and allow access to it's available methods

Imports

Keyboard

var Keyboard = Java.type("org.lwjgl.input.Keyboard")

See this for full documentation:

Mouse

var Mouse = Java.type("org.lwjgl.input.Mouse")

See this for full documentation:

GL11

var GL11 = Java.type("org.lwjgl.opengl.GL11")

See this for full documentation:

GL13

var GL13 = Java.type("org.lwjgl.opengl.GL13")

GL14

var GL14 = Java.type("org.lwjgl.opengl.GL14")

GL20

var GL20 = Java.type("org.lwjgl.opengl.GL20")

Map

var Map = Java.type("java.util.Map")

HashMap

var HashMap = Java.type("java.util.HashMap")

List

var List = Java.type("java.util.List")

ArrayList

var ArrayList = Java.type("java.util.ArrayList")

Math

var Math = Java.type("java.lang.Math")

Collectors

var Collectors = Java.type("java.util.stream.Collectors")

Tuples

var Pair = Java.type("dev.cedo.tuples.Pair")

var Triplet = Java.type("dev.cedo.tuples.Triplet")

var MutablePair = Java.type("dev.cedo.tuples.mutable.MutablePair")

var MutableTriplet = Java.type("dev.cedo.tuples.mutable.MutableTriplet")

See this for full documentation:

See this for full documentation:

See this for full documentation:

See this for full documentation:

See this for full documentation:

See this for full documentation:

See this for full documentation:

See this for full documentation:

See this for full documentation:

See this for full documentation: or the

https://legacy.lwjgl.org/javadoc/org/lwjgl/input/Keyboard.html
https://legacy.lwjgl.org/javadoc/org/lwjgl/input/Mouse.html
https://legacy.lwjgl.org/javadoc/org/lwjgl/opengl/GL11.html
https://legacy.lwjgl.org/javadoc/org/lwjgl/opengl/GL13.html
https://legacy.lwjgl.org/javadoc/org/lwjgl/opengl/GL14.html
https://legacy.lwjgl.org/javadoc/org/lwjgl/opengl/GL20.html
https://docs.oracle.com/javase/8/docs/api/java/util/Map.html
https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html
https://docs.oracle.com/javase/8/docs/api/java/util/List.html
https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html
https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html
https://docs.oracle.com/javase/8/docs/api/java/util/stream/Collectors.html
https://github.com/not-cedo/Tuples
Pair page