Class PoiSection
java.lang.Object
net.minecraft.world.entity.ai.village.poi.PoiSection
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionPoiSection
(Runnable p_27267_) private
PoiSection
(Runnable p_27269_, boolean p_27270_, List<PoiRecord> p_27271_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
private boolean
private void
clear()
static com.mojang.serialization.Codec<PoiSection>
boolean
int
getFreeTickets
(BlockPos p_148683_) Deprecated.getPoiRecord
(BlockPos p_148685_) getRecords
(Predicate<PoiType> p_27305_, PoiManager.Occupancy p_27306_) (package private) boolean
isValid()
void
refresh
(Consumer<BiConsumer<BlockPos, PoiType>> p_27303_) boolean
void
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
records
-
byType
-
setDirty
-
isValid
private boolean isValid
-
-
Constructor Details
-
PoiSection
-
PoiSection
-
-
Method Details
-
codec
-
getRecords
-
add
-
add
-
remove
-
getFreeTickets
Deprecated. -
release
-
exists
-
getType
-
getPoiRecord
-
refresh
-
clear
private void clear() -
isValid
boolean isValid()
-