Package net.minecraft.village
Class PointOfInterestData
java.lang.Object
net.minecraft.village.PointOfInterestData
-
Field Summary
FieldsModifier 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 Summary
ConstructorsModifierConstructorDescriptionPointOfInterestData(Runnable p_i50293_1_) privatePointOfInterestData(Runnable p_i231555_1_, boolean p_i231555_2_, List<PointOfInterest> p_i231555_3_) -
Method Summary
Modifier 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
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
records
-
byType
-
setDirty
-
isValid
private boolean isValid
-
-
Constructor Details
-
PointOfInterestData
-
PointOfInterestData
private PointOfInterestData(Runnable p_i231555_1_, boolean p_i231555_2_, List<PointOfInterest> p_i231555_3_)
-
-
Method Details
-
codec
-
getRecords
public Stream<PointOfInterest> getRecords(Predicate<PointOfInterestType> p_218247_1_, PointOfInterestManager.Status p_218247_2_) -
add
-
add
-
remove
-
release
-
exists
-
getType
-
refresh
-
clear
private void clear() -
isValid
boolean isValid()
-