src/main/java/mods/quiddity/redux/ReduxBlock.java
@Override
    public void onBlockClicked(World worldIn, BlockPos pos, EntityPlayer playerIn) {
        if (worldIn.getTileEntity(pos) instanceof ReduxCommandBlockTileEntity) {
            ReduxCommandBlockTileEntity commandBlockTileEntity = (ReduxCommandBlockTileEntity) worldIn.getTileEntity(pos);
            commandBlockTileEntity.triggerSpecialEvent(Trigger.TriggerEvent.OnEntityCollide, false, playerIn);
        }
    }
/**
     * Left click?
     * @param worldIn The world
     * @param pos The position of the block
     * @param playerIn The player whom clicked
     */
Left click.
@param worldIn The world
@param pos The position of the block
@param playerIn The player whom clicked
Left click . @param worldIn The world @param pos The position of the block @param playerIn The player whom clicked
@Override
    public void onBlockClicked(World worldIn, BlockPos pos, EntityPlayer playerIn) {
        if (worldIn.getTileEntity(pos) instanceof ReduxCommandBlockTileEntity) {
            ReduxCommandBlockTileEntity commandBlockTileEntity = (ReduxCommandBlockTileEntity) worldIn.getTileEntity(pos);
            commandBlockTileEntity.triggerSpecialEvent(Trigger.TriggerEvent.OnEntityCollide, false, playerIn);
        }
    }
@ Override public void onBlockClicked ( World worldIn , BlockPos pos , EntityPlayer playerIn ) { if ( worldIn . getTileEntity ( pos ) instanceof ReduxCommandBlockTileEntity ) { ReduxCommandBlockTileEntity commandBlockTileEntity = ( ReduxCommandBlockTileEntity ) worldIn . getTileEntity ( pos ) ; commandBlockTileEntity . triggerSpecialEvent ( Trigger . TriggerEvent . OnEntityCollide , false , playerIn ) ; } }
Left click?
Left click?