Class WorldAndCoord

java.lang.Object
me.desht.pneumaticcraft.common.hacking.WorldAndCoord

public class WorldAndCoord extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.core.BlockPos
     
    final net.minecraft.world.level.BlockGetter
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WorldAndCoord(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    net.minecraft.world.level.block.Block
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • world

      public final net.minecraft.world.level.BlockGetter world
    • pos

      public final net.minecraft.core.BlockPos pos
  • Constructor Details

    • WorldAndCoord

      public WorldAndCoord(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos)
  • Method Details

    • getBlock

      public net.minecraft.world.level.block.Block getBlock()
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object