# Global

#### Primitive prototype additions

- `String#namespace`: String - namespace part of namespaced string, aka of "minecraft:oak\_planks" it's "minecraft". Defaults to "minecraft" if there's no `:`.
- `String#path`: String - path part of namespaced string, aka of "minecraft:oak\_planks" it's "oak\_planks"

#### Constants

- `SECOND`: Number = 1000
- `MINUTE`: Number = 60000 (60 \* SECOND)
- `HOUR`: Number = 3600000 (60 \* MINUTE)

#### Objects

- `global`: Map&lt;String, Object&gt;
- `console`: Console

#### Classes

- `Platform`
- `ResourceLocation`
- `Utils`
- `Java`
- `Text`
- `UUID`
- `JsonIO`
- `Block`
- `Item`
- `Ingredient`
- `IngredientHelper`
- `NBT`
- `NBTIO`
- `Direction`
- `Facing`
- `AABB`
- `Fluid`
- `Color`
- `BlockStatePredicate`

#### Wrapped Classes

<table border="1" id="bkmrk-name-class-javamath-" style="border-collapse: collapse; width: 112.84%; height: 387.36px;"><colgroup><col style="width: 27.6948%;"></col><col style="width: 72.3052%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><th style="height: 29.7969px;">Name</th><th style="height: 29.7969px;">Class</th></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`JavaMath`</td><td style="height: 29.7969px;">java.lang.Math</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`Blocks`</td><td style="height: 29.7969px;">net.minecraft.world.level.block.Blocks</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`Items`</td><td style="height: 29.7969px;">net.minecraft.world.item.Items</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`Stats`</td><td style="height: 29.7969px;">net.minecraft.stats.Stats</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`DecorationGenerationStep`</td><td style="height: 29.7969px;">net.minecraft.world.level.levelgen.GenerationStep.Decoration</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`CarvingGenerationStep`</td><td style="height: 29.7969px;">net.minecraft.world.level.levelgen.GenerationStep.Carving</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`BlockPos`</td><td style="height: 29.7969px;">net.minecraft.core.BlockPos</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`DamageSource`</td><td style="height: 29.7969px;">net.minecraft.world.damagesource.DamageSource</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`BlockProperties`</td><td style="height: 29.7969px;">net.minecraft.world.level.block.state.properties.BlockStateProperties</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`Vec3`, `Vec3d`</td><td style="height: 29.7969px;">net.minecraft.world.phys.Vec3</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">`Vec3i`</td><td style="height: 29.7969px;">net.minecraft.core.Vec3i</td></tr></tbody></table>