Minecart with Spawner


Obtaining

Minecarts with spawners cannot be obtained in the inventory, and must be placed using commands (/summon).

Info

Videos

Usage

The monster spawner inside the minecart acts the same way as normal monster spawners; it has the same associated NBT tags.

Data values

See also: Chunk format Chunks store the terrain and entities within a 16×256×16 area. They also store precomputed lighting, heightmap data for Minecraft s performance, and other meta information. Contents 1 NBT structure 2 Block format 3 Entity format 3.1

Minecarts with spawners have entity data associated with them that contain various properties of the entity. Their entity ID is spawner_minecart.


  • Entity data
    • Tags common to all entities see Template:Nbt inherit/entity/template
    • Tags common to all minecarts see Template:Nbt inherit/vehicle/template

    • SpawnPotentials: Optional. List of possible entities to spawn. If this tag does not exist, but SpawnData exists, Minecraft will generate it the next time the spawner tries to spawn an entity. The generated list will contain a single entry derived from the EntityId and SpawnData tags.

      • : A potential future spawn. After the spawner makes an attempt at spawning, it will choose one of these entries at random and use it to prepare for the next spawn.

        • Entity: Overwrites EntityId when preparing the next spawn.

        • Weight: The chance that this spawn will be picked as compared to other spawn weights. Must be non-negative and at least 1.

        • Properties: Overwrites the contents of SpawnData when preparing the next spawn. Not optional; an empty one will be created if it does not exist.

    • EntityIddeprecated in 1.9 1.9 Official name Combat Update Type Release Release date Feb. 29, 2016 1] Development versions View all Snapshots 15w31a 15w31b 15w31c 15w32a 15w32b 15w32c 15w33a 15w33b 15w33c 15w34a 15w34b 15w34c 15w34d 15w35a 15w35b 15w35c 15w35d minecraft : The Entity ID of the next entity(s) to spawn. Both mob entity IDs and other entity IDs will work. Warning: If SpawnPotentials exists, this tag will get overwritten after the next spawning attempt: see above for more details. Use the "id" tag inside SpawnData (see below).

    • SpawnData: Contains tags to copy to the next spawned entity(s) after spawning. Any of the entity or mob Chunks store the terrain and entities within a 16×256×16 area. They also store precomputed lighting, heightmap data for Minecraft s performance, and other meta information. Contents 1 NBT structure 2 Block format 3 Entity format 3.1 tags may be used. Note that if a spawner specifies any of these tags, almost all variable data such as mob equipment, villager profession, sheep wool color, etc., will not be automatically generated, and must also be manually specified (note that this does not apply to position data, which will be randomized as normal unless Pos is specified. Similarly, unless Size and Health are specified for a Slime or Magma Cube, these will still be randomized). This, together with EntityId, also determines the appearance of the miniature entity spinning in the spawner cage. Note: this tag is optional: if it does not exist, the next spawned entity will use the default vanilla spawning properties for this mob, including potentially randomized armor (this is true even if SpawnPotentials does exist). Warning: If SpawnPotentials exists, this tag will get overwritten after the next spawning attempt: see above for more details.

    • SpawnCount: How many mobs to attempt to spawn each time. Note: Requires the MinSpawnDelay property to also be set.

    • SpawnRange: The radius around which the spawner attempts to place mobs randomly. The spawn area is square, includes the block the spawner is in, and is centered around the spawner`s x,z coordinates - not the spawner itself. It is 2 blocks high, centered around the spawner`s y coordinate (its bottom), allowing mobs to spawn as high as its top surface and as low as 1 block below its bottom surface. Vertical spawn coordinates are integers, while horizontal coordinates are floating point and weighted towards values near the spawner itself. Default value is 4.

    • Delay: Ticks until next spawn. If 0, it will spawn immediately when a player enters its range. If set to -1 (this state never occurs in a natural spawner; it seems to be a featureSpecial attraction accessed only via NBT editing), the spawner will reset its Delay, and (if SpawnPotentials exist) EntityID and SpawnData as though it had just completed a successful spawn cycle, immediately when a player enters its range. Note that setting Delay to -1 can be useful if you want the game to properly randomize the spawner`s Delay, EntityID, and SpawnData, rather than starting with pre-defined values.

    • MinSpawnDelay: The minimum random delay for the next spawn delay. May be equal to MaxSpawnDelay.

    • MaxSpawnDelay: The maximum random delay for the next spawn delay. Warning: Setting this value to 0 crashes Minecraft. Set to at least 1. Note: Requires the MinSpawnDelay property to also be set.

    • MaxNearbyEntities: Overrides the maximum number of nearby (within a box of spawnrange*2+1 x spawnrange*2+1 x 8 centered around the spawner block) entities whose IDs match this spawner`s entity ID. Note that this is relative to a mob`s hitbox, not their physical position. Also note that all entities within all chunk sections (16x16x16 cubes) overlapped by this box are tested for their ID and hitbox overlap, rather than just entities which are within the box, meaning a large amount of entities outside the box (or within it, of course) can cause substantial lag.

    • RequiredPlayerRange: Overrides the block radius of the sphere of activation by players for this spawner. Note that for every gametick, a spawner will check all players in the current world to test whether a player is within this sphere. Note: Requires the MaxNearbyEntities property to also be set.

History

Official releaseAnnounce Minecraft 1.0 Starting version 1.0.0 (Nov. 18th, 2011) Latest version 1.12 Paid Yes Website http://www.minecraft.net/ See the official release of Minecraft for the PC. For the version, see 1.0.0. For the first minecraft
Jan. 07, 2013 Nathan Adams Nathan Adams Real name Nathan Adams Date of birth Jul. 23, 1991 (age 25) 1] Occupation Game developer Nationality British Website dinnerbone.com Known for Bukkit Minecraft Wiki name Dinnerbone Reddit name Dinnerbone @@@#@@@Twitter(twitter.com)###@### name @Dinnerbone Bug minecraft tweets an image of a mob spawner inside a minecart, spawning pigs throughout a village.
Later that day, Adams tweets an image of minecarts with spawners riding along a complex railway.
Feb. 06, 2013 Adams tweets another image of minecart pig spawners.
1.5 1.5 Official name Redstone Update Release date Mar. 13, 2013 1] Development versions View all Snapshots 13w01a 13w01b 13w02a 13w02b 13w03a 13w04a 13w05a 13w05b 13w06a 13w07a 13w09a 13w09b 13w09c 13w10a 13w10b Pre-releases 1.5-pre Download Client minecraft 13w06a 13w06a Type Snapshot Release date Feb. 7, 2013 1] Snapshot for 1.5 Download Client Server .exe ◄◄ 1.4.7 ◄ 13w05b 13w07a ► 1.5.1 ►► See the computer edition. For other editions, see minecraft Added minecarts with spawners.
1.11 1.11 Official name Exploration Update 1] Release date Nov. 14, 2016 Development versions View all Snapshots 16w32a 16w32b 16w33a 16w35a 16w36a 16w38a 16w39a 16w39b 16w39c 16w40a 16w41a 16w42a 16w43a 16w44a Pre-releases 1.11-pre1 Download Client (.json) minecraft 16w32a 16w32a Type Snapshot Release date Aug. 10, 2016 Snapshot for 1.11 Download Client (.json) Server ◄◄ 1.10.2 16w32b ► 1.11.1 ►► See the computer edition. For other editions, see Version history (disambiguation). minecraft The entity ID is changed from MinecartSpawner to spawner_minecart.

Issues

Issues relating to ⃢₀ₜMinecart with Spawner⃢₀₝ are maintained on the issue tracker. Report issues there.

Gallery