Package net.minecraft.village
Class PointOfInterestData
java.lang.Object
net.minecraft.village.PointOfInterestData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Map<PointOfInterestType,Set<PointOfInterest>> private booleanprivate static final org.apache.logging.log4j.Loggerprivate final it.unimi.dsi.fastutil.shorts.Short2ObjectMap<PointOfInterest>private final Runnable
- 
Constructor SummaryConstructorsModifierConstructorDescriptionPointOfInterestData(Runnable p_i50293_1_) privatePointOfInterestData(Runnable p_i231555_1_, boolean p_i231555_2_, List<PointOfInterest> p_i231555_3_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(BlockPos p_218243_1_, PointOfInterestType p_218243_2_) private booleanadd(PointOfInterest p_218254_1_) private voidclear()static com.mojang.serialization.Codec<PointOfInterestData>booleanexists(BlockPos p_218245_1_, Predicate<PointOfInterestType> p_218245_2_) getRecords(Predicate<PointOfInterestType> p_218247_1_, PointOfInterestManager.Status p_218247_2_) (package private) booleanisValid()voidrefresh(Consumer<BiConsumer<BlockPos, PointOfInterestType>> p_218240_1_) booleanvoid
- 
Field Details- 
LOGGERprivate static final org.apache.logging.log4j.Logger LOGGER
- 
records
- 
byType
- 
setDirty
- 
isValidprivate boolean isValid
 
- 
- 
Constructor Details- 
PointOfInterestData
- 
PointOfInterestDataprivate PointOfInterestData(Runnable p_i231555_1_, boolean p_i231555_2_, List<PointOfInterest> p_i231555_3_) 
 
- 
- 
Method Details- 
codec
- 
getRecordspublic Stream<PointOfInterest> getRecords(Predicate<PointOfInterestType> p_218247_1_, PointOfInterestManager.Status p_218247_2_) 
- 
add
- 
add
- 
remove
- 
release
- 
exists
- 
getType
- 
refresh
- 
clearprivate void clear()
- 
isValidboolean isValid()
 
-