Package | Description |
---|---|
net.minecraft.entity.ai.brain.task | |
net.minecraft.entity.merchant.villager | |
net.minecraft.util.registry | |
net.minecraft.village | |
net.minecraftforge.registries |
Modifier and Type | Field and Description |
---|---|
private PointOfInterestType |
GatherPOITask.field_220604_a |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Predicate<PointOfInterestType> |
ExpirePOITask.field_220592_b |
Constructor and Description |
---|
ExpirePOITask(PointOfInterestType p_i50338_1_,
MemoryModuleType<GlobalPos> p_i50338_2_) |
GatherPOITask(PointOfInterestType p_i50374_1_,
MemoryModuleType<GlobalPos> p_i50374_2_,
boolean p_i50374_3_) |
Modifier and Type | Field and Description |
---|---|
private PointOfInterestType |
VillagerProfession.pointOfInterest |
Modifier and Type | Field and Description |
---|---|
static java.util.Map<MemoryModuleType<GlobalPos>,java.util.function.BiPredicate<VillagerEntity,PointOfInterestType>> |
VillagerEntity.field_213774_bB |
Modifier and Type | Method and Description |
---|---|
PointOfInterestType |
VillagerProfession.getPointOfInterest() |
Modifier and Type | Method and Description |
---|---|
(package private) static VillagerProfession |
VillagerProfession.register(java.lang.String nameIn,
PointOfInterestType pointOfInterestIn,
com.google.common.collect.ImmutableSet<Item> specificItemsIn,
com.google.common.collect.ImmutableSet<Block> relatedWorldBlocksIn,
SoundEvent soundIn) |
(package private) static VillagerProfession |
VillagerProfession.register(java.lang.String nameIn,
PointOfInterestType pointOfInterestIn,
SoundEvent soundIn) |
Constructor and Description |
---|
VillagerProfession(java.lang.String nameIn,
PointOfInterestType pointOfInterestIn,
com.google.common.collect.ImmutableSet<Item> specificItemsIn,
com.google.common.collect.ImmutableSet<Block> relatedWorldBlocksIn,
SoundEvent soundIn) |
Modifier and Type | Field and Description |
---|---|
static DefaultedRegistry<PointOfInterestType> |
Registry.POINT_OF_INTEREST_TYPE
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static PointOfInterestType |
PointOfInterestType.ARMORER |
static PointOfInterestType |
PointOfInterestType.BEE_NEST |
static PointOfInterestType |
PointOfInterestType.BEEHIVE |
static PointOfInterestType |
PointOfInterestType.BUTCHER |
static PointOfInterestType |
PointOfInterestType.CARTOGRAPHER |
static PointOfInterestType |
PointOfInterestType.CLERIC |
static PointOfInterestType |
PointOfInterestType.FARMER |
static PointOfInterestType |
PointOfInterestType.FISHERMAN |
static PointOfInterestType |
PointOfInterestType.FLETCHER |
static PointOfInterestType |
PointOfInterestType.HOME |
static PointOfInterestType |
PointOfInterestType.LEATHERWORKER |
static PointOfInterestType |
PointOfInterestType.LIBRARIAN |
static PointOfInterestType |
PointOfInterestType.MASON |
static PointOfInterestType |
PointOfInterestType.MEETING |
static PointOfInterestType |
PointOfInterestType.NETHER_PORTAL |
static PointOfInterestType |
PointOfInterestType.NITWIT |
static PointOfInterestType |
PointOfInterestType.SHEPHERD |
static PointOfInterestType |
PointOfInterestType.TOOLSMITH |
private PointOfInterestType |
PointOfInterest.type |
static PointOfInterestType |
PointOfInterestType.UNEMPLOYED |
static PointOfInterestType |
PointOfInterestType.WEAPONSMITH |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<PointOfInterestType> |
PointOfInterestType.ANY_VILLAGER_WORKSTATION |
private java.util.Map<PointOfInterestType,java.util.Set<PointOfInterest>> |
PointOfInterestData.byType |
static java.util.function.Predicate<PointOfInterestType> |
PointOfInterestType.MATCH_ANY |
private static java.util.Map<BlockState,PointOfInterestType> |
PointOfInterestType.POIT_BY_BLOCKSTATE |
private java.util.function.Predicate<PointOfInterestType> |
PointOfInterestType.predicate |
Modifier and Type | Method and Description |
---|---|
PointOfInterestType |
PointOfInterest.getType() |
private static PointOfInterestType |
PointOfInterestType.register(java.lang.String p_226359_0_,
java.util.Set<BlockState> p_226359_1_,
int p_226359_2_,
int p_226359_3_) |
private static PointOfInterestType |
PointOfInterestType.register(java.lang.String p_226360_0_,
java.util.Set<BlockState> p_226360_1_,
int p_226360_2_,
java.util.function.Predicate<PointOfInterestType> p_226360_3_,
int p_226360_4_) |
private static PointOfInterestType |
PointOfInterestType.registerBlockStates(PointOfInterestType poit) |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<PointOfInterestType> |
PointOfInterestType.forState(BlockState state) |
java.util.function.Predicate<PointOfInterestType> |
PointOfInterestType.getPredicate() |
java.util.Optional<PointOfInterestType> |
PointOfInterestManager.getType(BlockPos p_219148_1_) |
java.util.Optional<PointOfInterestType> |
PointOfInterestData.getType(BlockPos p_218244_1_) |
Modifier and Type | Method and Description |
---|---|
void |
PointOfInterestManager.add(BlockPos p_219135_1_,
PointOfInterestType p_219135_2_) |
void |
PointOfInterestData.add(BlockPos p_218243_1_,
PointOfInterestType p_218243_2_) |
private static PointOfInterestType |
PointOfInterestType.registerBlockStates(PointOfInterestType poit) |
Modifier and Type | Method and Description |
---|---|
boolean |
PointOfInterestManager.exists(BlockPos p_219138_1_,
java.util.function.Predicate<PointOfInterestType> p_219138_2_) |
boolean |
PointOfInterestData.exists(BlockPos p_218245_1_,
java.util.function.Predicate<PointOfInterestType> p_218245_2_) |
java.util.Optional<BlockPos> |
PointOfInterestManager.find(java.util.function.Predicate<PointOfInterestType> p_219127_1_,
java.util.function.Predicate<BlockPos> p_219127_2_,
BlockPos p_219127_3_,
int p_219127_4_,
PointOfInterestManager.Status p_219127_5_) |
java.util.stream.Stream<BlockPos> |
PointOfInterestManager.findAll(java.util.function.Predicate<PointOfInterestType> p_225399_1_,
java.util.function.Predicate<BlockPos> p_225399_2_,
BlockPos p_225399_3_,
int p_225399_4_,
PointOfInterestManager.Status p_225399_5_) |
java.util.Optional<BlockPos> |
PointOfInterestManager.findClosest(java.util.function.Predicate<PointOfInterestType> p_219147_1_,
java.util.function.Predicate<BlockPos> p_219147_2_,
BlockPos p_219147_3_,
int p_219147_4_,
PointOfInterestManager.Status p_219147_5_) |
java.util.stream.Stream<PointOfInterest> |
PointOfInterestManager.func_219146_b(java.util.function.Predicate<PointOfInterestType> p_219146_1_,
BlockPos p_219146_2_,
int distance,
PointOfInterestManager.Status p_219146_4_) |
long |
PointOfInterestManager.getCountInRange(java.util.function.Predicate<PointOfInterestType> p_219145_1_,
BlockPos p_219145_2_,
int p_219145_3_,
PointOfInterestManager.Status p_219145_4_) |
java.util.stream.Stream<PointOfInterest> |
PointOfInterestManager.getInChunk(java.util.function.Predicate<PointOfInterestType> p_219137_1_,
ChunkPos p_219137_2_,
PointOfInterestManager.Status p_219137_3_) |
private java.util.stream.Stream<PointOfInterest> |
PointOfInterestManager.getInSelection(java.util.function.Predicate<PointOfInterestType> p_219136_1_,
long p_219136_2_,
PointOfInterestManager.Status p_219136_4_) |
java.util.stream.Stream<PointOfInterest> |
PointOfInterestManager.getInSquare(java.util.function.Predicate<PointOfInterestType> p_226353_1_,
BlockPos p_226353_2_,
int p_226353_3_,
PointOfInterestManager.Status p_226353_4_) |
java.util.Optional<BlockPos> |
PointOfInterestManager.getRandom(java.util.function.Predicate<PointOfInterestType> p_219163_1_,
java.util.function.Predicate<BlockPos> p_219163_2_,
PointOfInterestManager.Status p_219163_3_,
BlockPos p_219163_4_,
int p_219163_5_,
java.util.Random p_219163_6_) |
java.util.stream.Stream<PointOfInterest> |
PointOfInterestData.getRecords(java.util.function.Predicate<PointOfInterestType> p_218247_1_,
PointOfInterestManager.Status p_218247_2_) |
void |
PointOfInterestData.refresh(java.util.function.Consumer<java.util.function.BiConsumer<BlockPos,PointOfInterestType>> p_218240_1_) |
private static PointOfInterestType |
PointOfInterestType.register(java.lang.String p_226360_0_,
java.util.Set<BlockState> p_226360_1_,
int p_226360_2_,
java.util.function.Predicate<PointOfInterestType> p_226360_3_,
int p_226360_4_) |
java.util.Optional<BlockPos> |
PointOfInterestManager.take(java.util.function.Predicate<PointOfInterestType> p_219157_1_,
java.util.function.Predicate<BlockPos> p_219157_2_,
BlockPos p_219157_3_,
int p_219157_4_) |
private void |
PointOfInterestManager.updateFromSelection(ChunkSection p_219132_1_,
SectionPos p_219132_2_,
java.util.function.BiConsumer<BlockPos,PointOfInterestType> p_219132_3_) |
Constructor and Description |
---|
PointOfInterest(BlockPos posIn,
PointOfInterestType typeIn,
int freeTicketsIn,
java.lang.Runnable onChangeIn) |
PointOfInterest(BlockPos posIn,
PointOfInterestType typeIn,
java.lang.Runnable onChangeIn) |
Constructor and Description |
---|
PointOfInterestType(java.lang.String nameIn,
java.util.Set<BlockState> blockStatesIn,
int maxFreeTicketsIn,
java.util.function.Predicate<PointOfInterestType> p_i225713_4_,
int p_i225713_5_) |
Modifier and Type | Field and Description |
---|---|
static IForgeRegistry<PointOfInterestType> |
ForgeRegistries.POI_TYPES |