Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # NewItems
- command /spawnegg <text>:
- aliases: egg
- description: 既存のスポーンエッグでは召喚できないモブのスポーンエッグを召喚します
- usage: /spawnegg <irongolem | igolem> or <snowgolem | sgolem>
- permission: spawnegg.get
- trigger:
- if player has permission "spawnegg.get":
- if arg is "irongolem" or "igolem":
- give player spawn egg named "スポーン アイアンゴーレム"
- if arg is "snowgolem" or "sgolem":
- give player spawn egg named "スポーン スノーゴーレム"
- else:
- message "スポーンエッグを受け取る権限を持っていません"
- on rightclick:
- player's tool is spawn egg
- Name of player's tool is "スポーン アイアンゴーレム"
- if player has permission "spawnegg.irongolem":
- set {_location} to the targeted block of player
- spawn 1 iron golems at {_location}
- else:
- message "スポーンエッグを使える権限を持っていません"
- on rightclick:
- player's tool is spawn egg
- Name of player's tool is "スポーン スノーゴーレム"
- if player has permission "spawnegg.snowgolem":
- set {_location} to the targeted block of player
- spawn 1 snow golems at {_location}
- else:
- message "スポーンエッグを使える権限を持っていません"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement