Uses of Class
net.minecraft.entity.SpawnRestriction.Location
Package | Description |
---|---|
net.minecraft.entity | |
net.minecraft.world |
-
Uses of SpawnRestriction.Location in net.minecraft.entity
Fields in net.minecraft.entity declared as SpawnRestriction.Location Modifier and Type Field Description private SpawnRestriction.Location
SpawnRestriction.Entry. location
Methods in net.minecraft.entity that return SpawnRestriction.Location Modifier and Type Method Description static SpawnRestriction.Location
SpawnRestriction. getLocation(EntityType<?> type)
static SpawnRestriction.Location
SpawnRestriction.Location. valueOf(String name)
Returns the enum constant of this type with the specified name.static SpawnRestriction.Location[]
SpawnRestriction.Location. 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 SpawnRestriction.Location Modifier and Type Method Description private static <T extends MobEntity>
voidSpawnRestriction. register(EntityType<T> type, SpawnRestriction.Location location, Heightmap.Type heightmapType, SpawnRestriction.SpawnPredicate<T> predicate)
Constructors in net.minecraft.entity with parameters of type SpawnRestriction.Location Constructor Description Entry(Heightmap.Type heightmapType, SpawnRestriction.Location location, SpawnRestriction.SpawnPredicate<?> predicate)
-
Uses of SpawnRestriction.Location in net.minecraft.world
Methods in net.minecraft.world with parameters of type SpawnRestriction.Location Modifier and Type Method Description static boolean
SpawnHelper. canSpawn(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType)