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 = 1000MINUTE: Number = 60000 (60 * SECOND)HOUR: Number = 3600000 (60 * MINUTE)
Objects
global: Map<String, Object>console: Console
Classes
PlatformResourceLocationUtilsJavaTextUUIDJsonIOBlockItemIngredientIngredientHelperNBTNBTIODirectionFacingAABBFluidColorBlockStatePredicate
Wrapped Classes
| Name | Class |
|---|---|
| JavaMath | java.lang.Math |
| Blocks | net.minecraft.world.level.block.Blocks |
| Items | net.minecraft.world.item.Items |
| Stats | net.minecraft.stats.Stats |
| DecorationGenerationStep | net.minecraft.world.level.levelgen.GenerationStep.Decoration |
| CarvingGenerationStep | net.minecraft.world.level.levelgen.GenerationStep.Carving |
| BlockPos | net.minecraft.core.BlockPos |
| DamageSource | net.minecraft.world.damagesource.DamageSource |
| BlockProperties | net.minecraft.world.level.block.state.properties.BlockStateProperties |
| Vec3, Vec3d | net.minecraft.world.phys.Vec3 |
| Vec3i | net.minecraft.core.Vec3i |