   # block interaction: left/right-click to break/place blocks, uses raytracing
   game.currentMaterial = 1
 
-  debris = createDebris(game, {power: 1.5})
+  debris = game.plugins.load("voxel-debris", {power: 1.5})
   debris.on 'collect', (item) ->
     console.log("collect", item)
 


  # create the player from a minecraft skin file and tell the
  # game to use it as the main player
  avatar = createPlayer(game, {image: 'player.png'})
  avatar.pov('first');
  avatar.possess()
  home(avatar)


createPlugins = require 'voxel-plugins'

# plugins
createOculus = require 'voxel-oculus'
createHighlight = require 'voxel-highlight'
createPlayer = require 'voxel-player'
