Class PointOfInterest


  • public class PointOfInterest
    extends java.lang.Object
    • Field Detail

      • freeTickets

        private int freeTickets
      • setDirty

        private final java.lang.Runnable setDirty
    • Constructor Detail

      • PointOfInterest

        private PointOfInterest​(BlockPos p_i50295_1_,
                                PointOfInterestType p_i50295_2_,
                                int p_i50295_3_,
                                java.lang.Runnable p_i50295_4_)
    • Method Detail

      • codec

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

        protected boolean acquireTicket()
      • releaseTicket

        protected boolean releaseTicket()
      • hasSpace

        public boolean hasSpace()
      • isOccupied

        public boolean isOccupied()
      • equals

        public boolean equals​(java.lang.Object p_equals_1_)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object