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

public class PoiSection

ceu
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.slf4j.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<Holder<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> pois)

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<jm<cev>> arg0, ces$b arg1)
getRecords(Predicate<Holder<PoiType>> arg0, PoiManager$Occupancy arg1)
method_19150(Predicate<class_6880<class_4158>> arg0, class_4153$class_4155 arg1)
get(Predicate<RegistryEntry<PointOfInterestType>> predicate, PointOfInterestStorage$OccupationStatus occupationStatus)
m_27304_(Predicate<C_203228_<C_792_>> p_27306_, C_787_$C_789_ arg1)
public void
a(jd arg0, jm<cev> arg1)
add(BlockPos arg0, Holder<PoiType> arg1)
method_19146(class_2338 arg0, class_6880<class_4158> arg1)
add(BlockPos pos, RegistryEntry<PointOfInterestType> type)
m_218021_(C_4675_ p_218023_, C_203228_<C_792_> arg1)
private boolean
a(cet arg0)
add(PoiRecord arg0)
method_20350(class_4156 arg0)
add(PointOfInterest poi)
m_27273_(C_790_ arg0)
public void
a(jd arg0)
remove(BlockPos arg0)
method_19145(class_2338 arg0)
remove(BlockPos pos)
m_27279_(C_4675_ arg0)
public int
b(jd arg0)
getFreeTickets(BlockPos arg0)
method_35157(class_2338 arg0)
getFreeTickets(BlockPos pos)
m_148682_(C_4675_ arg0)
public boolean
c(jd arg0)
release(BlockPos arg0)
method_19153(class_2338 arg0)
releaseTicket(BlockPos pos)
m_27317_(C_4675_ arg0)
public boolean
a(jd arg0, Predicate<jm<cev>> arg1)
exists(BlockPos arg0, Predicate<Holder<PoiType>> arg1)
method_19147(class_2338 arg0, Predicate<class_6880<class_4158>> arg1)
test(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate)
m_27288_(C_4675_ p_27290_, Predicate<C_203228_<C_792_>> arg1)
public Optional<Holder<PoiType>>
d(jd arg0)
getType(BlockPos arg0)
method_19154(class_2338 arg0)
getType(BlockPos pos)
m_27319_(C_4675_ arg0)
private Optional<PoiRecord>
e(jd arg0)
getPoiRecord(BlockPos arg0)
method_33584(class_2338 arg0)
get(BlockPos pos)
m_148684_(C_4675_ arg0)
public void
a(Consumer<BiConsumer<jd, jm<cev>>> arg0)
refresh(Consumer<BiConsumer<BlockPos, Holder<PoiType>>> arg0)
method_20353(Consumer<BiConsumer<class_2338, class_6880<class_4158>>> arg0)
updatePointsOfInterest(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> updater)
m_27302_(Consumer<BiConsumer<C_4675_, C_203228_<C_792_>>> arg0)
private void
b()
clear()
method_20395()
clear()
m_27310_()
boolean
a()
isValid()
method_22444()
isValid()
m_27272_()