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

public class PoiSection

bdo
net.minecraft.world.entity.ai.village.poi.PoiSection
net.minecraft.class_4157
net.minecraft.world.poi.PointOfInterestSet
net.minecraft.src.C_791_
net.minecraft.world.entity.ai.village.poi.VillagePlaceSection

Field summary

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

Constructor summary

ModifierConstructor
public (Runnable updateListener)
private (Runnable updateListener, boolean valid, 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)
createCodec(Runnable updateListener)
m_27295_(Runnable p_27296_)
public Stream<PoiRecord>
a(Predicate<bdp> arg0, bdm$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 occupationStatus)
m_27304_(Predicate<C_792_> p_27306_, C_787_$C_789_ arg1)
public void
a(gg arg0, bdp arg1)
add(BlockPos arg0, PoiType arg1)
method_19146(class_2338 arg0, class_4158 arg1)
add(BlockPos pos, PointOfInterestType type)
m_27281_(C_4675_ p_27283_, C_792_ arg1)
private boolean
a(bdn arg0)
add(PoiRecord arg0)
method_20350(class_4156 arg0)
add(PointOfInterest poi)
m_27273_(C_790_ arg0)
public void
a(gg arg0)
remove(BlockPos arg0)
method_19145(class_2338 arg0)
remove(BlockPos pos)
m_27279_(C_4675_ arg0)
public int
b(gg arg0)
getFreeTickets(BlockPos arg0)
method_35157(class_2338 arg0)
method_35157(BlockPos arg0)
m_148682_(C_4675_ arg0)
public boolean
c(gg arg0)
release(BlockPos arg0)
method_19153(class_2338 arg0)
releaseTicket(BlockPos pos)
m_27317_(C_4675_ arg0)
public boolean
a(gg arg0, Predicate<bdp> arg1)
exists(BlockPos arg0, Predicate<PoiType> arg1)
method_19147(class_2338 arg0, Predicate<class_4158> arg1)
test(BlockPos pos, Predicate<PointOfInterestType> predicate)
m_27288_(C_4675_ p_27290_, Predicate<C_792_> arg1)
public Optional<PoiType>
d(gg arg0)
getType(BlockPos arg0)
method_19154(class_2338 arg0)
getType(BlockPos pos)
m_27319_(C_4675_ arg0)
private Optional<PoiRecord>
e(gg arg0)
getPoiRecord(BlockPos arg0)
method_33584(class_2338 arg0)
get(BlockPos pos)
m_148684_(C_4675_ arg0)
public void
a(Consumer<BiConsumer<gg, bdp>> arg0)
refresh(Consumer<BiConsumer<BlockPos, PoiType>> arg0)
method_20353(Consumer<BiConsumer<class_2338, class_4158>> arg0)
updatePointsOfInterest(Consumer<BiConsumer<BlockPos, PointOfInterestType>> arg0)
m_27302_(Consumer<BiConsumer<C_4675_, C_792_>> arg0)
private void
b()
clear()
method_20395()
clear()
m_27310_()
boolean
a()
isValid()
method_22444()
isValid()
m_27272_()