java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<P>
mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<net.minecraft.core.BlockPos>
mods.thecomputerizer.theimpossiblelibrary.shared.v20.world.BlockPos1_20
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.core.BlockPos>

public class BlockPos1_20 extends mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<net.minecraft.core.BlockPos>
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI

    posVec, ZERO

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    wrapped

    Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor

    BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockPos1_20(mods.thecomputerizer.theimpossiblelibrary.api.shapes.vectors.Vector3 posVec)
     
    BlockPos1_20(net.minecraft.core.BlockPos pos)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>
    add(int x, int y, int z)
     
    mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>
    add(net.minecraft.core.BlockPos pos)
     
    get(Object obj)
     
    pos(Object pos)
     
    vec(Object pos)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI

    add, add, distanceTo, distanceTo, down, east, getPosVec, north, south, up, west, x, y, z

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    equals, getWrapped, getWrappedClass, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped

    getIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefault
  • Constructor Details

    • BlockPos1_20

      public BlockPos1_20(net.minecraft.core.BlockPos pos)
    • BlockPos1_20

      public BlockPos1_20(mods.thecomputerizer.theimpossiblelibrary.api.shapes.vectors.Vector3 posVec)
  • Method Details

    • get

      public static BlockPos1_20 get(Object obj)
    • pos

      public static BlockPos1_20 pos(Object pos)
    • vec

      public static BlockPos1_20 vec(Object pos)
    • add

      public mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> add(net.minecraft.core.BlockPos pos)
      Specified by:
      add in class mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<net.minecraft.core.BlockPos>
    • add

      public mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> add(int x, int y, int z)
      Specified by:
      add in class mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<net.minecraft.core.BlockPos>