Paste #83884: Silk Spawners!

Date: 2021/04/25 13:01:32 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9


silky_spawners:
    type: world
    debug: false
    events:
        on player breaks spawner with:*pickaxe:
            - if !<player.item_in_hand.enchantments.contains[silk_touch]>:
                - stop
            - define type <context.location.spawner_type.entity_type>
            - determine "spawner[display_name=<[type].to_titlecase> Spawner;spawner_type=<[type]>"