Uses of Class
net.minecraft.entity.EntitySpawnPlacementRegistry.PlacementType
-
Packages that use EntitySpawnPlacementRegistry.PlacementType Package Description net.minecraft.entity net.minecraft.world.spawner net.minecraftforge.common.extensions -
-
Uses of EntitySpawnPlacementRegistry.PlacementType in net.minecraft.entity
Fields in net.minecraft.entity declared as EntitySpawnPlacementRegistry.PlacementType Modifier and Type Field Description private EntitySpawnPlacementRegistry.PlacementTypeEntitySpawnPlacementRegistry.Entry. placementMethods in net.minecraft.entity that return EntitySpawnPlacementRegistry.PlacementType Modifier and Type Method Description static EntitySpawnPlacementRegistry.PlacementTypeEntitySpawnPlacementRegistry.PlacementType. create(java.lang.String name, TriPredicate<IWorldReader,BlockPos,EntityType<? extends MobEntity>> predicate)static EntitySpawnPlacementRegistry.PlacementTypeEntitySpawnPlacementRegistry. getPlacementType(EntityType<?> p_209344_0_)static EntitySpawnPlacementRegistry.PlacementTypeEntitySpawnPlacementRegistry.PlacementType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EntitySpawnPlacementRegistry.PlacementType[]EntitySpawnPlacementRegistry.PlacementType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.entity with parameters of type EntitySpawnPlacementRegistry.PlacementType Modifier and Type Method Description static <T extends MobEntity>
voidEntitySpawnPlacementRegistry. register(EntityType<T> p_209343_0_, EntitySpawnPlacementRegistry.PlacementType p_209343_1_, Heightmap.Type p_209343_2_, EntitySpawnPlacementRegistry.IPlacementPredicate<T> p_209343_3_)Constructors in net.minecraft.entity with parameters of type EntitySpawnPlacementRegistry.PlacementType Constructor Description Entry(Heightmap.Type p_i51522_1_, EntitySpawnPlacementRegistry.PlacementType p_i51522_2_, EntitySpawnPlacementRegistry.IPlacementPredicate<?> p_i51522_3_) -
Uses of EntitySpawnPlacementRegistry.PlacementType in net.minecraft.world.spawner
Methods in net.minecraft.world.spawner with parameters of type EntitySpawnPlacementRegistry.PlacementType Modifier and Type Method Description static booleanWorldEntitySpawner. canSpawnAtBody(EntitySpawnPlacementRegistry.PlacementType p_209382_0_, IWorldReader p_209382_1_, BlockPos p_209382_2_, EntityType<?> p_209382_3_)static booleanWorldEntitySpawner. isSpawnPositionOk(EntitySpawnPlacementRegistry.PlacementType p_209382_0_, IWorldReader p_209382_1_, BlockPos p_209382_2_, EntityType<?> p_209382_3_) -
Uses of EntitySpawnPlacementRegistry.PlacementType in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type EntitySpawnPlacementRegistry.PlacementType Modifier and Type Method Description default booleanIForgeBlock. canCreatureSpawn(BlockState state, IBlockReader world, BlockPos pos, EntitySpawnPlacementRegistry.PlacementType type, EntityType<?> entityType)Determines if a specified mob type can spawn on this block, returning false will prevent any mob from spawning on the block.default booleanIForgeBlockState. canCreatureSpawn(IWorldReader world, BlockPos pos, EntitySpawnPlacementRegistry.PlacementType type, EntityType<?> entityType)Determines if a specified mob type can spawn on this block, returning false will prevent any mob from spawning on the block.
-