- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleUntitled Paste
TypeDenizen Script
Date2015/11/22 21:47:51 UTC-08:00
ByFortifier42
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
1300
Mob Spawner Type:
  type: world
  events:
    on player breaks mob_spawner:
    - determine passively cancelled
    - drop "item:i@mob_spawner[lore=Type<&co> <context.location.spawner_type.entity_type>]" <context.location>
    - modifyblock m@air <context.location>
    on player places mob_spawner:
    - define Item <player.item_in_hand>
    - define Type <def[Item].lore.get[1].after[Type<&co>].trim||pig>
    - wait 1t
    - adjust <context.location> spawner_type:<def[Type].as_entity>



RawRaw



Pastes made: 72179