Class PointOfInterest

java.lang.Object
net.minecraft.village.PointOfInterest

public class PointOfInterest extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • codec

      public static com.mojang.serialization.Codec<PointOfInterest> codec(Runnable p_234150_0_)
    • acquireTicket

      protected boolean acquireTicket()
    • releaseTicket

      protected boolean releaseTicket()
    • hasSpace

      public boolean hasSpace()
    • isOccupied

      public boolean isOccupied()
    • getPos

      public BlockPos getPos()
    • getPoiType

      public PointOfInterestType getPoiType()
    • equals

      public boolean equals(Object p_equals_1_)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object