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

public class PoiSection

ayb
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_16_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)
private (Runnable arg0, boolean arg1, List<PoiRecord> arg2)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<PoiSection>
a(Runnable arg0)
codec(Runnable arg0)
method_28364(Runnable arg0)
method_28364(Runnable arg0)
func_234158_a_(Runnable arg0)
public Stream<PoiRecord>
a(Predicate<ayc> arg0, axz$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(fu arg0, ayc 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(aya arg0)
add(PoiRecord arg0)
method_20350(class_4156 arg0)
add(PointOfInterest poi)
func_218254_a(PointOfInterest arg0)
public void
a(fu arg0)
remove(BlockPos arg0)
method_19145(class_2338 arg0)
remove(BlockPos pos)
func_218248_a(BlockPos arg0)
public boolean
c(fu arg0)
release(BlockPos arg0)
method_19153(class_2338 arg0)
releaseTicket(BlockPos pos)
func_218251_c(BlockPos arg0)
public boolean
a(fu arg0, Predicate<ayc> 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(fu arg0)
getType(BlockPos arg0)
method_19154(class_2338 arg0)
getType(BlockPos pos)
func_218244_d(BlockPos arg0)
public void
a(Consumer<BiConsumer<fu, ayc>> 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_()