NexoAddon
PolymartSpigotDiscordGithubNexo
  • NexoAddon
  • Components
    • equippable
    • fertilizer
    • jukebox_playable
    • skull_value
  • Mechanics
    • Aura
    • BedrockBreak
    • BigMining
    • BlockAura
    • BottledExp
    • Custom Block Experience
    • Decay
    • Infested
    • KillMessage
    • MiningTools
    • Remember
    • Repair
    • ShiftBlock
    • Signal
    • SpawnerBreak
    • Stackable
    • Unstackable
    • VeinMiner
  • Populators
    • Block Populators
  • Recipes
    • Smithing Recipe
  • Commands
    • Totem Command
  • Settings
    • Double Hit Destroy
    • Bossbar
    • Count shears as silktouch
    • Prevent furniture breaks
    • Delay of Aura Mechanic
    • Default config.yml
Powered by GitBook
On this page
  • A custom block infested with Zombies and Slimes
  • A custom block infested with SkeletalKnights and Wither Skeletons
Edit on GitHub
  1. Mechanics

Infested

Infested mechanic.

The Infested Mechanic lets you add a list of entities that should spawn upon breaking a custom block

entities option is required!

A custom block infested with Zombies and Slimes

It will select one of them, and 100% spawn it, it will also spawn particles

# Example

Mechanics:
  custom_block:
    type: NOTEBLOCK
    infested:
      entities:
        - ZOMBIE
        - SLIME
      probability: 1.0     # The chance for an entity to spawn. optional, defaults to 1.0
      selector: random     # entity selection method (all|random) all makes all entities spawn, random makes 1 of them spawn, optional, defaults to all.
      particles: true      # If breaking the block should spawn particles. optional, defaults to false
      drop-loot: false     # If the entity spawns, the loot won't drop, defaults to true

A custom block infested with SkeletalKnights and Wither Skeletons

It has an 80% chance to spawn a wither skeleton and a skeletal knight when broken

# Example

Mechanics:
  custom_block:
    type: NOTEBLOCK
    infested:
      entities:
        - WITHER_SKELETON
      mythic-mobs:
        - SkeletalKnight
      probability: 0.8     # The chance for an entity to spawn. optional, defaults to 1.0
      particles: false      # If breaking the block should spawn particles. optional, defaults to false

Akis was here ;)

PreviousDecayNextKillMessage

Last updated 4 months ago