Class GlobalPos

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

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

    • CODEC

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

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

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

    • GlobalPos

      private GlobalPos(RegistryKey<World> dimension, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhb;<init>(Laba;Lgt;)V
      intermediary <init> Lnet/minecraft/class_4208;<init>(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;)V
      named <init> Lnet/minecraft/util/math/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 Lhb;a(Laba;Lgt;)Lhb;
      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/math/GlobalPos;create(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/GlobalPos;
    • getDimension

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

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official b Lhb;b()Lgt;
      intermediary method_19446 Lnet/minecraft/class_4208;method_19446()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/util/math/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 Lhb;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4208;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/util/math/GlobalPos;equals(Ljava/lang/Object;)Z
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object