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

public class PoiSection

bhc
net.minecraft.world.entity.ai.village.poi.PoiSection
net.minecraft.class_4157
net.minecraft.unmapped.C_hdurmsnk
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
f_ocoyialk
LOGGER
f_27260_
private final it.unimi.dsi.fastutil.shorts.Short2ObjectMap<PoiRecord>
b
records
field_18497
f_jnjvqond
pointsOfInterestByPos
f_27261_
private final Map<PoiType, Set<PoiRecord>>
c
byType
field_18498
f_frvkdbnp
pointsOfInterestByType
f_27262_
private final Runnable
d
setDirty
field_18499
f_awwuzyll
updateListener
f_27263_
private boolean
e
isValid
field_19226
f_qaplwjun
valid
f_27264_

Constructor summary

ModifierConstructor
public (Runnable updateListener)
private (Runnable updateListener, boolean valid, List<PoiRecord> pois)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<PoiSection>
a(Runnable arg0)
codec(Runnable arg0)
method_28364(Runnable arg0)
m_jynfjuan(Runnable arg0)
createCodec(Runnable updateListener)
m_27295_(Runnable p_27296_)
public Stream<PoiRecord>
a(Predicate<bhd> arg0, bha$b arg1)
getRecords(Predicate<PoiType> arg0, PoiManager$Occupancy arg1)
method_19150(Predicate<class_4158> arg0, class_4153$class_4155 arg1)
m_jkfckwqu(Predicate<C_voztdcrg> arg0, C_uegwgivt$C_dzezdmdw arg1)
get(Predicate<PointOfInterestType> predicate, PointOfInterestStorage$OccupationStatus occupationStatus)
m_27304_(Predicate<C_792_> p_27306_, C_787_$C_789_ arg1)
public void
a(gh arg0, bhd arg1)
add(BlockPos arg0, PoiType arg1)
method_19146(class_2338 arg0, class_4158 arg1)
m_njohggfv(C_hynzadkk arg0, C_voztdcrg arg1)
add(BlockPos pos, PointOfInterestType type)
m_27281_(C_4675_ p_27283_, C_792_ arg1)
private boolean
a(bhb arg0)
add(PoiRecord arg0)
method_20350(class_4156 arg0)
m_ooqpwuhy(C_xhhbfljz arg0)
add(PointOfInterest poi)
m_27273_(C_790_ arg0)
public void
a(gh arg0)
remove(BlockPos arg0)
method_19145(class_2338 arg0)
m_awzlpame(C_hynzadkk arg0)
remove(BlockPos pos)
m_27279_(C_4675_ arg0)
public int
b(gh arg0)
getFreeTickets(BlockPos arg0)
method_35157(class_2338 arg0)
m_zrqylmkv(C_hynzadkk arg0)
getFreeTickets(BlockPos pos)
m_148682_(C_4675_ arg0)
public boolean
c(gh arg0)
release(BlockPos arg0)
method_19153(class_2338 arg0)
m_pvlulhhd(C_hynzadkk arg0)
releaseTicket(BlockPos pos)
m_27317_(C_4675_ arg0)
public boolean
a(gh arg0, Predicate<bhd> arg1)
exists(BlockPos arg0, Predicate<PoiType> arg1)
method_19147(class_2338 arg0, Predicate<class_4158> arg1)
m_wvycrlap(C_hynzadkk arg0, Predicate<C_voztdcrg> arg1)
test(BlockPos pos, Predicate<PointOfInterestType> predicate)
m_27288_(C_4675_ p_27290_, Predicate<C_792_> arg1)
public Optional<PoiType>
d(gh arg0)
getType(BlockPos arg0)
method_19154(class_2338 arg0)
m_auljnzhv(C_hynzadkk arg0)
getType(BlockPos pos)
m_27319_(C_4675_ arg0)
private Optional<PoiRecord>
e(gh arg0)
getPoiRecord(BlockPos arg0)
method_33584(class_2338 arg0)
m_xlalihkb(C_hynzadkk arg0)
get(BlockPos pos)
m_148684_(C_4675_ arg0)
public void
a(Consumer<BiConsumer<gh, bhd>> arg0)
refresh(Consumer<BiConsumer<BlockPos, PoiType>> arg0)
method_20353(Consumer<BiConsumer<class_2338, class_4158>> arg0)
m_oadrqxun(Consumer<BiConsumer<C_hynzadkk, C_voztdcrg>> arg0)
updatePointsOfInterest(Consumer<BiConsumer<BlockPos, PointOfInterestType>> arg0)
m_27302_(Consumer<BiConsumer<C_4675_, C_792_>> arg0)
private void
b()
clear()
method_20395()
m_gmemdztd()
clear()
m_27310_()
boolean
a()
isValid()
method_22444()
m_yraklmmf()
isValid()
m_27272_()