Class GlobalPos

java.lang.Object
net.minecraft.util.dynamic.GlobalPos

public final class GlobalPos extends Object
Mappings:
Namespace Name
official go
intermediary net/minecraft/class_4208
named net/minecraft/util/dynamic/GlobalPos
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<GlobalPos> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lgo;a:Lcom/mojang/serialization/Codec;
      intermediary field_25066 Lnet/minecraft/class_4208;field_25066:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/dynamic/GlobalPos;CODEC:Lcom/mojang/serialization/Codec;
    • dimension

      private final RegistryKey<World> dimension
      Mappings:
      Namespace Name Mixin selector
      official b Lgo;b:Lwv;
      intermediary field_18790 Lnet/minecraft/class_4208;field_18790:Lnet/minecraft/class_5321;
      named dimension Lnet/minecraft/util/dynamic/GlobalPos;dimension:Lnet/minecraft/util/registry/RegistryKey;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official c Lgo;c:Lgg;
      intermediary field_18791 Lnet/minecraft/class_4208;field_18791:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/util/dynamic/GlobalPos;pos:Lnet/minecraft/util/math/BlockPos;
  • Constructor Details

    • GlobalPos

      private GlobalPos(RegistryKey<World> dimension, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgo;<init>(Lwv;Lgg;)V
      intermediary <init> Lnet/minecraft/class_4208;<init>(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;)V
      named <init> Lnet/minecraft/util/dynamic/GlobalPos;<init>(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;)V
  • Method Details

    • create

      public static GlobalPos create(RegistryKey<World> dimension, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lgo;a(Lwv;Lgg;)Lgo;
      intermediary method_19443 Lnet/minecraft/class_4208;method_19443(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;)Lnet/minecraft/class_4208;
      named create Lnet/minecraft/util/dynamic/GlobalPos;create(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/dynamic/GlobalPos;
    • getDimension

      public RegistryKey<World> getDimension()
      Mappings:
      Namespace Name Mixin selector
      official a Lgo;a()Lwv;
      intermediary method_19442 Lnet/minecraft/class_4208;method_19442()Lnet/minecraft/class_5321;
      named getDimension Lnet/minecraft/util/dynamic/GlobalPos;getDimension()Lnet/minecraft/util/registry/RegistryKey;
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official b Lgo;b()Lgg;
      intermediary method_19446 Lnet/minecraft/class_4208;method_19446()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/util/dynamic/GlobalPos;getPos()Lnet/minecraft/util/math/BlockPos;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lgo;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4208;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/util/dynamic/GlobalPos;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object