net.minecraft.core

public record GlobalPos

jp
net.minecraft.core.GlobalPos
net.minecraft.class_4208
net.minecraft.util.math.GlobalPos
net.minecraft.core.GlobalPos

Field summary

Modifier and TypeField
private final ResourceKey<Level>
d
dimension
comp_2207
dimension
private final BlockPos
e
pos
comp_2208
pos
public static final com.mojang.serialization.MapCodec<GlobalPos>
a
MAP_CODEC
field_49583
MAP_CODEC
public static final com.mojang.serialization.Codec<GlobalPos>
b
CODEC
field_25066
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, GlobalPos>
c
STREAM_CODEC
field_48451
PACKET_CODEC

Constructor summary

ModifierConstructor
public (ResourceKey<Level> dimension, BlockPos pos)

Method summary

Modifier and TypeMethod
public static GlobalPos
a(aly<dhi> arg0, jh arg1)
of(ResourceKey<Level> arg0, BlockPos arg1)
method_19443(class_5321<class_1937> arg0, class_2338 arg1)
create(RegistryKey<World> dimension, BlockPos pos)
public boolean
a(aly<dhi> arg0, jh arg1, int arg2)
isCloseEnough(ResourceKey<Level> arg0, BlockPos arg1, int arg2)
method_65075(class_5321<class_1937> arg0, class_2338 arg1, int arg2)
isWithinRange(RegistryKey<World> dimension, BlockPos otherPos, int maxDistance)
public ResourceKey<Level>
a()
dimension()
comp_2207()
dimension()
public BlockPos
b()
pos()
comp_2208()
pos()