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

public class PoiSection

cgo
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<jr<cgp>> arg0, cgm$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(ji arg0, jr<cgp> 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(cgn arg0)
add(PoiRecord arg0)
method_20350(class_4156 arg0)
add(PointOfInterest poi)
public void
a(ji arg0)
remove(BlockPos arg0)
method_19145(class_2338 arg0)
remove(BlockPos pos)
public int
b(ji arg0)
getFreeTickets(BlockPos arg0)
method_35157(class_2338 arg0)
getFreeTickets(BlockPos pos)
public boolean
c(ji arg0)
release(BlockPos arg0)
method_19153(class_2338 arg0)
releaseTicket(BlockPos pos)
public boolean
a(ji arg0, Predicate<jr<cgp>> 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(ji arg0)
getType(BlockPos arg0)
method_19154(class_2338 arg0)
getType(BlockPos pos)
private Optional<PoiRecord>
e(ji arg0)
getPoiRecord(BlockPos arg0)
method_33584(class_2338 arg0)
get(BlockPos pos)
public void
a(Consumer<BiConsumer<ji, jr<cgp>>> 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()