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

public class PoiSection

bxo
net.minecraft.world.entity.ai.village.poi.PoiSection
net.minecraft.class_4157
net.minecraft.unmapped.C_hdurmsnk
net.minecraft.world.poi.PointOfInterestSet
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.slf4j.Logger
a
LOGGER
field_18496
f_ocoyialk
LOGGER
LOGGER
f_27260_
private final it.unimi.dsi.fastutil.shorts.Short2ObjectMap<PoiRecord>
b
records
field_18497
f_jnjvqond
pointsOfInterestByPos
pointsOfInterestByPos
f_27261_
private final Map<Holder<PoiType>, Set<PoiRecord>>
c
byType
field_18498
f_frvkdbnp
pointsOfInterestByType
pointsOfInterestByType
f_27262_
private final Runnable
d
setDirty
field_18499
f_awwuzyll
updateListener
updateListener
f_27263_
private boolean
e
isValid
field_19226
f_qaplwjun
valid
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)
createCodec(Runnable updateListener)
m_27295_(Runnable p_27296_)
public Stream<PoiRecord>
a(Predicate<ih<bxp>> arg0, bxm$b arg1)
getRecords(Predicate<Holder<PoiType>> arg0, PoiManager$Occupancy arg1)
method_19150(Predicate<class_6880<class_4158>> arg0, class_4153$class_4155 arg1)
m_jkfckwqu(Predicate<C_cjzoxshv<C_voztdcrg>> arg0, C_uegwgivt$C_dzezdmdw arg1)
get(Predicate<RegistryEntry<PointOfInterestType>> predicate, PointOfInterestStorage$OccupationStatus occupationStatus)
get(Predicate<Holder<PointOfInterestType>> typePredicate, PointOfInterestStorage$OccupationStatus occupationStatus)
m_27304_(Predicate<C_203228_<C_792_>> p_27306_, C_787_$C_789_ arg1)
public void
a(hx arg0, ih<bxp> arg1)
add(BlockPos arg0, Holder<PoiType> arg1)
method_19146(class_2338 arg0, class_6880<class_4158> arg1)
m_ejltkrbp(C_hynzadkk arg0, C_cjzoxshv<C_voztdcrg> arg1)
add(BlockPos pos, RegistryEntry<PointOfInterestType> type)
add(BlockPos pos, Holder<PointOfInterestType> type)
m_218021_(C_4675_ p_218023_, C_203228_<C_792_> arg1)
private boolean
a(bxn arg0)
add(PoiRecord arg0)
method_20350(class_4156 arg0)
m_ooqpwuhy(C_xhhbfljz arg0)
add(PointOfInterest poi)
add(PointOfInterest poi)
m_27273_(C_790_ arg0)
public void
a(hx arg0)
remove(BlockPos arg0)
method_19145(class_2338 arg0)
m_awzlpame(C_hynzadkk arg0)
remove(BlockPos pos)
remove(BlockPos pos)
m_27279_(C_4675_ arg0)
public int
b(hx arg0)
getFreeTickets(BlockPos arg0)
method_35157(class_2338 arg0)
m_zrqylmkv(C_hynzadkk arg0)
getFreeTickets(BlockPos pos)
getFreeTicketsAt(BlockPos pos)
m_148682_(C_4675_ arg0)
public boolean
c(hx arg0)
release(BlockPos arg0)
method_19153(class_2338 arg0)
m_pvlulhhd(C_hynzadkk arg0)
releaseTicket(BlockPos pos)
releaseTicket(BlockPos pos)
m_27317_(C_4675_ arg0)
public boolean
a(hx arg0, Predicate<ih<bxp>> arg1)
exists(BlockPos arg0, Predicate<Holder<PoiType>> arg1)
method_19147(class_2338 arg0, Predicate<class_6880<class_4158>> arg1)
m_wvycrlap(C_hynzadkk arg0, Predicate<C_cjzoxshv<C_voztdcrg>> arg1)
test(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate)
test(BlockPos pos, Predicate<Holder<PointOfInterestType>> predicate)
m_27288_(C_4675_ p_27290_, Predicate<C_203228_<C_792_>> arg1)
public Optional<Holder<PoiType>>
d(hx arg0)
getType(BlockPos arg0)
method_19154(class_2338 arg0)
m_auljnzhv(C_hynzadkk arg0)
getType(BlockPos pos)
getType(BlockPos pos)
m_27319_(C_4675_ arg0)
private Optional<PoiRecord>
e(hx arg0)
getPoiRecord(BlockPos arg0)
method_33584(class_2338 arg0)
m_xlalihkb(C_hynzadkk arg0)
get(BlockPos pos)
get(BlockPos pos)
m_148684_(C_4675_ arg0)
public void
a(Consumer<BiConsumer<hx, ih<bxp>>> arg0)
refresh(Consumer<BiConsumer<BlockPos, Holder<PoiType>>> arg0)
method_20353(Consumer<BiConsumer<class_2338, class_6880<class_4158>>> arg0)
m_oadrqxun(Consumer<BiConsumer<C_hynzadkk, C_cjzoxshv<C_voztdcrg>>> arg0)
updatePointsOfInterest(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> updater)
updatePointsOfInterest(Consumer<BiConsumer<BlockPos, Holder<PointOfInterestType>>> updater)
m_27302_(Consumer<BiConsumer<C_4675_, C_203228_<C_792_>>> arg0)
private void
b()
clear()
method_20395()
m_gmemdztd()
clear()
clear()
m_27310_()
boolean
a()
isValid()
method_22444()
m_yraklmmf()
isValid()
isValid()
m_27272_()