Global
Globally available classes and constants
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
Platform
JavaMath
: Wrapsjava.lang.Math
classResourceLocation
Utils
Java
Text
UUID
JsonIO
Block
Blocks
: Wrapsnet.minecraft.world.level.block.Blocks
classItem
Items
: Wrapsnet.minecraft.world.item.Items
classIngredient
IngredientHelper
NBT
NBTIO
Direction
Facing
AABB
Stats
: Wrapsnet.minecraft.stats.Stats
classFluid
Color
BlockStatePredicate
DecorationGenerationStep
: Wrapsnet.minecraft.world.level.levelgen.GenerationStep.Decoration
classCarvingGenerationStep
: Wrapsnet.minecraft.world.level.levelgen.GenerationStep.Carving
classVec3
Vec3d
Vec3i
BlockPos
: Wrapsnet.minecraft.core.BlockPos
classDamageSource
: Wrapsnet.minecraft.world.damagesource.DamageSource
classBlockProperties
: Wrapsnet.minecraft.world.level.block.state.properties.BlockStateProperties
class