net.minecraft.world.entity.ai.village.poi

public class PoiSection

implements Serializable

ast
net.minecraft.world.entity.ai.village.poi.PoiSection
net.minecraft.class_4157
net.minecraft.world.poi.PointOfInterestSet
net.minecraft.village.PointOfInterestData
net.minecraft.server.v1_15_R1.VillagePlaceSection

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_18496
LOGGER
field_218255_a
private final it.unimi.dsi.fastutil.shorts.Short2ObjectMap<PoiRecord>
b
records
field_18497
pointsOfInterestByPos
field_218256_b
private final Map<PoiType, Set<PoiRecord>>
c
byType
field_18498
pointsOfInterestByType
field_218257_c
private final Runnable
d
setDirty
field_18499
updateListener
field_218258_d
private boolean
e
isValid
field_19226
valid
field_218259_e

Constructor summary

ModifierConstructor
public (Runnable updateListener)
public <T>(Runnable updateListener, com.mojang.datafixers.Dynamic<T> arg1)

Method summary

Modifier and TypeMethod
public Stream<PoiRecord>
a(Predicate<asu> arg0, asr$b arg1)
getRecords(Predicate<PoiType> arg0, PoiManager$Occupancy arg1)
method_19150(Predicate<class_4158> arg0, class_4153$class_4155 arg1)
get(Predicate<PointOfInterestType> arg0, PointOfInterestStorage$OccupationStatus arg1)
func_218247_a(Predicate<PointOfInterestType> arg0, PointOfInterestManager$Status arg1)
public void
a(fk arg0, asu arg1)
add(BlockPos arg0, PoiType arg1)
method_19146(class_2338 arg0, class_4158 arg1)
add(BlockPos pos, PointOfInterestType type)
func_218243_a(BlockPos arg0, PointOfInterestType arg1)
private boolean
a(ass arg0)
add(PoiRecord arg0)
method_20350(class_4156 arg0)
add(PointOfInterest poi)
func_218254_a(PointOfInterest arg0)
public void
a(fk arg0)
remove(BlockPos arg0)
method_19145(class_2338 arg0)
remove(BlockPos pos)
func_218248_a(BlockPos arg0)
public boolean
c(fk arg0)
release(BlockPos arg0)
method_19153(class_2338 arg0)
releaseTicket(BlockPos pos)
func_218251_c(BlockPos arg0)
public boolean
a(fk arg0, Predicate<asu> arg1)
exists(BlockPos arg0, Predicate<PoiType> arg1)
method_19147(class_2338 arg0, Predicate<class_4158> arg1)
test(BlockPos pos, Predicate<PointOfInterestType> predicate)
func_218245_a(BlockPos arg0, Predicate<PointOfInterestType> arg1)
public Optional<PoiType>
d(fk arg0)
getType(BlockPos arg0)
method_19154(class_2338 arg0)
getType(BlockPos pos)
func_218244_d(BlockPos arg0)
public <T> T
a(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
method_19508(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
func_218175_a(com.mojang.datafixers.types.DynamicOps<T> arg0)
public void
a(Consumer<BiConsumer<fk, asu>> arg0)
refresh(Consumer<BiConsumer<BlockPos, PoiType>> arg0)
method_20353(Consumer<BiConsumer<class_2338, class_4158>> arg0)
updatePointsOfInterest(Consumer<BiConsumer<BlockPos, PointOfInterestType>> arg0)
func_218240_a(Consumer<BiConsumer<BlockPos, PointOfInterestType>> arg0)
private void
b()
clear()
method_20395()
clear()
func_218253_a()
boolean
a()
isValid()
method_22444()
isValid()
func_226355_a_()