smodusermc's picture
download
raw
849 Bytes
#
# Allows specified items to be used as helmets for survival players (Minecraft 1.9 recommended).
#
aliases:
custom helmets = iron block, gold block, diamond block # Change this to anything you'd like
on inventory click:
inventory action is place all or nothing
cursor slot of player is custom helmets # Check if item is allowed as helmet
event-slot is helmet slot of event-player # Check that player clicked the helmet
cancel the event
set {_old helmet} to helmet of player # Store old helmet
set helmet of player to cursor slot of player # Set new helmet to item in player's cursor
set cursor slot of player to {_old helmet} # Set player's cursor to old helmet, possibly air
on right click:
tool of player is custom helmets
helmet of player is air
cancel the event
set helmet of player to tool of player
set tool of player to air

Xet Storage Details

Size:
849 Bytes
·
Xet hash:
8deccaed60a31a5434987d5a6e9930360d0929ee695ac87027b44ade261adbeb

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.