This page will go over Basics in Entities
Entities are, well, entities used within Iris. They can be any normal mob in minecraft and even customized.
Entities should be located within the entities
directory within your pack. Each should be named appropriately
The file above is for a panda that spawns with foxes on its back.
This can be referenced within Iris spawners or initial entity spawns in biomes/regions
type
- The type of mob. Should be from this list
surface
- What kind of surface should this mob be spawned on. See the table bellow:
Surface
Description
LAND
(Default)
The mob can be spawned on any solid blocks
WATER
The mob can spawn within water blocks
ANIMAL
Spawn only on grass, dirt and other surfaces animals can spawn on
OVERWORLD
Spawn on any land OR water block. Useful for turtles
LAVA
Spawn only on lava blocks
Coming soon. Requires Iris 1.6+
This feature is inactive in Iris 1.6+ as Iris has switched to using the new spawners feature.
It may be enabled again in the future but right now, use spawners
In each dimension, region and biome, there is a section called entityInitialSpawns
.
entity
- This is the name of the entity class to spawn. As you can see, we used the pandaUwU
file used in the example above.
minSpawns
- Minimum about of mobs to spawn in the chunk if the chance to spawn passes
maxSpawns
- Same as above, but the max
rarity
- The 1 in <rarity> chance for these mobs to spawn in a chunk