Class GlobalPos

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

public final class GlobalPos
extends Object
Mappings:
Namespace Name
official gf
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 Lgf;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 Lgf;b:Lwa;
      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 Lgf;c:Lfx;
      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> Lgf;<init>(Lwa;Lfx;)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 Lgf;a(Lwa;Lfx;)Lgf;
      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 Lgf;a()Lwa;
      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 Lgf;b()Lfx;
      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 Lgf;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
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lgf;hashCode()I
      intermediary hashCode Lnet/minecraft/class_4208;hashCode()I
      named hashCode Lnet/minecraft/util/dynamic/GlobalPos;hashCode()I
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lgf;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_4208;toString()Ljava/lang/String;
      named toString Lnet/minecraft/util/dynamic/GlobalPos;toString()Ljava/lang/String;