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

public class PoiSection

chm
net.minecraft.world.entity.ai.village.poi.PoiSection
net.minecraft.class_4157
net.minecraft.world.poi.PointOfInterestSet
net.minecraft.world.entity.ai.village.poi.VillagePlaceSection

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public PoiSection$Packed
a()
pack()
method_61451()
toSerialized()
public Stream<PoiRecord>
a(Predicate<jq<chn>> arg0, chk$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)
public void
a(jh arg0, jq<chn> arg1)
add(BlockPos arg0, Holder<PoiType> arg1)
method_19146(class_2338 arg0, class_6880<class_4158> arg1)
add(BlockPos pos, RegistryEntry<PointOfInterestType> type)
private boolean
a(chl arg0)
add(PoiRecord arg0)
method_20350(class_4156 arg0)
add(PointOfInterest poi)
public void
a(jh arg0)
remove(BlockPos arg0)
method_19145(class_2338 arg0)
remove(BlockPos pos)
public int
b(jh arg0)
getFreeTickets(BlockPos arg0)
method_35157(class_2338 arg0)
getFreeTickets(BlockPos pos)
public boolean
c(jh arg0)
release(BlockPos arg0)
method_19153(class_2338 arg0)
releaseTicket(BlockPos pos)
public boolean
a(jh arg0, Predicate<jq<chn>> 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)
public Optional<Holder<PoiType>>
d(jh arg0)
getType(BlockPos arg0)
method_19154(class_2338 arg0)
getType(BlockPos pos)
private Optional<PoiRecord>
e(jh arg0)
getPoiRecord(BlockPos arg0)
method_33584(class_2338 arg0)
get(BlockPos pos)
public void
a(Consumer<BiConsumer<jh, jq<chn>>> 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)
private void
c()
clear()
method_20395()
clear()
boolean
b()
isValid()
method_22444()
isValid()