Scripting

Custom Stuff 2 Script Objects

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

Blocks

configentityhitXhitYinteractPlayerisCurrentItemitemstacklivingmodplayerpositionredstoneSignalsideslotIdtickCountworld
onActivatedXXXXXXXX
onAddedXXXX
onBonemealXXXXX
onBreakXXXX
onClickedXXXXX
onCollidedXXXXX
onDestroyedByPlayerXXXXX
onFallenUponXXXXX
onNeighborChangeXXXX
onPlacedXXXX
onPlacedByXXXXX
onPlacedByPlayerXXXXX
onRedstoneSignalXXXXX
onUpdateXXXX
onWalkingXXXXX

Items

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

Functions

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