Class PoiSection
java.lang.Object
net.minecraft.world.entity.ai.village.poi.PoiSection
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPoiSection(Runnable pSetDirty) PoiSection(Runnable pSetDirty, boolean pIsValid, List<PoiRecord> pRecords) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanprivate voidclear()booleangetDebugPoiInfo(BlockPos pPos) intgetFreeTickets(BlockPos pPos) Deprecated.getPoiRecord(BlockPos pPos) getRecords(Predicate<Holder<PoiType>> pTypePredicate, PoiManager.Occupancy pStatus) (package private) booleanisValid()pack()voidbooleanvoid
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
records
-
byType
-
setDirty
-
isValid
private boolean isValid
-
-
Constructor Details
-
PoiSection
-
PoiSection
-
-
Method Details
-
pack
-
getRecords
-
add
-
add
-
remove
-
getFreeTickets
Deprecated. -
release
-
exists
-
getType
-
getPoiRecord
-
getDebugPoiInfo
-
refresh
-
clear
private void clear() -
isValid
boolean isValid()
-