Scripting

Custom Stuff 2 Script Objects

The following tables shows where the different script objects can be used.

Blocks

configentityhitXhitYlivingmodplayerpositionredstoneSignalsideworld
onActivatedXXXXXXXX
onAddedXXXX
onBonemealXXXXX
onBreakXXXX
onClickedXXXXX
onCollidedXXXXX
onDestroyedByPlayerXXXXX
onFallenUponXXXXX
onNeighborChangeXXXX
onPlacedXXXX
onPlacedByXXXXX
onPlacedByPlayerXXXXX
onRedstoneSignalXXXXX
onUpdateXXXX
onWalkingXXXXX
onWalkingLivingXXXXX
onWalkingPlayerXXXXX

Items

confighitXhitYinteractPlayerisCurrentItemitemstacklivingmodplayerpositionsideslotIdtickCountworld
onBlockStartBreakXXXXXX
onCreatedXXXXX
onDroppedByPlayerXXXXX
onEatenXXXXX
onHitEntityXXXXXX
onLeftClickLivingXXXXXX
onLeftClickPlayerXXXXXX
onRightClickXXXXX
onStoppedUsingXXXXXX
onUpdateXXXXXXX
onUseXXXXXXXXX
onUseFirstXXXXXXXXX
onUseOnEntityXXXXXX
onUseOnPlayerXXXXXX
onUsingXXXXXX

Tile Entities

configitemstackmodpositionworld
onItemSmeltedXXXXX

GUIs

configmodrenderermouseXmouseYguiXguiY
onDrawXXXXXXX

Functions

The javascript functions for the different objects can be found here.